Forums / Developer / ObjectRelationsList and Image Preview

"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".

ObjectRelationsList and Image Preview

Author Message

Alejandro Dominguez

Wednesday 06 April 2011 3:25:42 am

Hello guys,

I have an ObjectRelationsList attribute with Image Classes. Is there any possibility to show a preview o the images?

I attach an screenshot of my ObjectRelationList view http://img863.imageshack.us/i/imagesst.jpg/

cheers

Alejandro Dominguez

Thursday 07 April 2011 2:28:39 am

I found a solution!

Note:I have the BackWardCompatibility enabled

You have to create an override of ezobjectrelationlist.tpl . Then you need to add a new cell header for the images "Preview" and then a new row with the following

<td>{attribute_view_gui attribute=$Relation:object.data_map.image  image_class=small}</td>