Forums / Setup & design / Adding an image with the OE but not as a related object

Adding an image with the OE but not as a related object

Author Message

francis Nart

Monday 07 November 2005 8:23:27 am

How is it possible to add content to an XML field (for example an image) using the OE without this content (here an image) being added as a related object ?
The problem is we'd like to use a column where related objects are displayed on a template. The problem is that using th OE to add an image make that image a "related object" so it would appear twice :
- in the XML field displaying the image
- in the column as a link to the image object which is silly !

Any clue ?

Ɓukasz Serwatka

Wednesday 09 November 2005 12:33:57 am

Hi Francis,

Which version of eZ publish do you use?

If you know image object id you just paste to your XML filed code:

<embed href='ezobject://69' />

Images you can upload to Media.

This will work for eZ publish 3.6 and higher

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog