Forums / General / Fetching images from Media library

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Fetching images from Media library

Author Message

DeAndre Johnson

Thursday 23 July 2009 10:51:54 am

I have a block that I want to create a carousel from images that I uploaded to my Media Library section. These are standalone images created with image class. I used this code but it doesn't show images:

{attribute_view_gui attribute=$used_node.object.data_map.image image_class= "large"}

Does anyone know what is correct why to fetch these images?

Thanks

DeAndre

I am, because I choose to be!

John Moritz

Thursday 23 July 2009 12:28:11 pm

I am doin it like this:

{def $my_node=fetch( 'content', 'node', hash( 'node_id', $nodeID ) )}
{attribute_view_gui attribute=$my_node.data_map.image image_class=large}