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 )

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.