Forums / General / Fetching images from Media library
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}