Forums / Setup & design / how to make gallery display pictures in their original size

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

how to make gallery display pictures in their original size

Author Message

Augusto César Díaz

Thursday 22 December 2005 6:33:32 am

Hi all

I have a standar gallery, what I want is that when anybody clicks a picture then it's supposed to appear alone and bigger, but i want it to appear in it's original size...

anybody?

Augusto Cesar Diaz

Siw Helen Thorslund

Friday 23 December 2005 3:00:21 am

Do you want it to appear like it does here?

http://mediabase.no/index.php/demo_download/images

(Click on the image for larger view)

The difference in these pictures is the image class used, like here where "articlethumbnail" is used

{attribute_view_gui alignment=right image_class=articlethumbnail attribute=$node.object.data_map.image.content.data_map.image}

If you want to display the original, just chage to:

{attribute_view_gui alignment=right image_class=original attribute=$node.object.data_map.image.content.data_map.image}

You say you want it to display alone. This you can do through a tpl with the code above (prefered), or you can also display by path to the original picture.

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )