This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » add image to xml block via script

add image to xml block via script

add image to xml block via script

Thursday 02 September 2010 5:17:04 pm - 2 replies

Hi guys,

I ve a little big problem happy.gif Emoticon I ve a class, which contain an attribute called "visual" ( ezimage type ) and an xmlblock called "description"

I would like to insert image into xmlblocks... So the step ll be :

  • get url image storage and add this to a content object relationship
  • add manualy correct code to xmlblock

Or are there some others solutions?



Thursday 02 September 2010 11:41:39 pm

Hi Philippe,

I guess the position of the image in the XML block depends on the editor will. If so, the best solution for you and the editor is probably to define a custom tag. Then the editor can place it where he wants.


Friday 03 September 2010 10:11:11 am

Thanks Damien,

I ll try and check some xml to result to see that.



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from