RE: Serving raw images

"Denham, Martin" <[email protected]> Mon, 10 May 2004 19:12:23 +0100
Newsgroups gmane.linux.redhat.ccm.general
Message-ID <4C04D804C114CB46A20FE832EA339411013E898D@hdqe2k01.customer.edfenergy.net>
Hi Paul,

Thanks for responding.  This seems exactly what I would like to do, but I can't quite understand how you did it.

Would it be possible for you to elaborate a little on your technique e.g. "whose URL is entered in the UI" - which UI?

I am afraid I am still quite new to cmm.

thanks

Martin

-----Original Message-----
From: Paul Boyer [mailto:[email protected]]
Sent: 04 May 2004 12:38
To: Denham, Martin
Cc: [email protected]
Subject: Re: [redhat-ccm-list] Serving raw images



Martin,

http://www.carrefour.fr/ccm/site/banniere.gif is served by CCM 5.2
as well as :
http://www.carrefour.fr/ccm/content/hooks/enement_foot.gif
(both in http://www.Carrefour.fr home page)

we have 2 "sections" with separate administration. We have a image
content-type whose URL is entered in the UI.
This allows for /ccm/site/banniere.gif  to be a JPG image (sic !) with a
correct image/jpeg mime-type.
This is much nicer than the usual
http://www.carrefour.fr/ccm/cms-service/stream/image/?image_id=1090820 kind
of images.

Paul Boyer
--
Carrefour - DSI internet / intranet
9/13 rue du Lac - 91009 EVRY COURCOURONNES
Tel: +33 1 69 47 94 79 / +33 6 77 04 95 60


Date: Tue, 4 May 2004 12:15:02 +0100
From: "Denham, Martin" <[email protected]>
Subject: [redhat-ccm-list] Serving raw images
To: <[email protected]>
Message-ID:
 <4C04D804C114CB46A20FE832EA3394114223B7@hdqe2k01.customer.edfenergy.net>

Content-Type: text/plain; charset="iso-8859-1"

Hi,

Is there a way to serve graphics images from Red Hat CMS to another web
app?

I am interested in using Red Hat CMS to serve components of web pages
(instead of whole pages) to ease integration into our existing Struts/Tiles
infrastructure.  I have thought about attempting to integrate Struts and
Tiles into Red Hat CMS but feel this could be complex and that it would be
easier to retain our existing Struts/Tiles web app as-is and to fetch page
components from Red Hat CMS.

I can see how CMS would serve html text content, but am still struggling to
 see how to serve graphics e.g. my struts web app could contain:
 <img src="http://mycmsserver.com/ccm/content/images/marketplace.gif"/>

thanks

Martin







***********************************************************************************
EDF Energy plc internet e-mail disclaimer
This e-mail and any files transmitted with it are confidential and may be protected by legal privilege.
If you are not the intended recipient, please notify the sender and delete the e-mail from your system.
This e-mail has been scanned for malicious content but the internet is inherently insecure and EDF
Energy plc cannot accept any liability for the integrity of this message or its attachments. No employee
or agent of EDF Energy plc or any related company is authorised to conclude any binding agreement on
behalf of EDF Energy plc or any related company by e-mail. All e-mails sent and received by EDF Energy
plc are monitored to ensure compliance with the company's information security policy.
***********************************************************************************



-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/