RE: Serving raw images
Paul Boyer <[email protected]> Tue, 11 May 2004 12:42:00 +0200
| Newsgroups | gmane.linux.redhat.ccm.general |
|---|---|
| Message-ID | <OF40916215.F695AEEF-ONC1256E91.002E6A94-C1256E91.003AAA0A@carrefour.com> |
Hi Martin,
Randy already gave a short description of what you need to have a running
image content-type.
Randy, if there is no publicly available image content-type code, could you
send our's to the list so that it can get enhanced by the community ?
To go further on this, is there any open-sourced repository of CCM
content-type that can be shared among different projects ?
Our "image" content type is served by the dispatcher based on its "Name"
which is how the image was named when created using the content-center. It
is not the name of the image that is uploaded (in this case a jpg image)
Below is a screenshot of the UI (content-center)
(Embedded image moved to file: pic19629.jpg)
other fields of the content type are width, height, mime-type... and the
image uploaded. It also have a workflow and categories. on its own.
(Embedded image moved to file: pic12623.jpg)
Hope this helps,
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
"Denham, Martin"
<Martin.Denham@edf To: "Paul Boyer" <[email protected]>
energy.com> cc: <[email protected]>
Subject: RE: [redhat-ccm-list] Serving raw images
10/05/2004 20:12
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/
pic19629.jpg
(image/jpeg, 46.8 KB) - not displayed
pic12623.jpg
(image/jpeg, 59.1 KB) - not displayed