Which extension should I prefer

Author Message

Romeo Antony

Thursday 24 June 2010 3:43:27 am

I am looking nto create a thumbnail image gallery with scrolling .and when i click on thumb nail i want to see elarges pic.

which extension should i prefer.any documentation

Sandeep Kadam

Friday 02 July 2010 1:46:49 am

I did similar thing without using Extension an my gallery was not an scrolling one.

1. created a folder in my media library to hold my images.
2. Created class similar to images class but with one more image attribute to hold small image.
3.Fetched that images on my Pagelayout using code which is somewhat similar to below code, I have used lyte box functionality for my gallery where 83 is the id of the folder holding images.

{def $photos = fetch(content,list,hash('parent_node_id','83'))}  

{foreach $photos as $photo}  

{if $photo.data_map.small_image.has_content}  

<a href={$photo.data_map.big_image.content['original'].full_path|ezroot()} title="" rel="lytebox[half]"><img border="0" src={$photo.data_map.<strong>small_image</strong>.content['original'].full_path|ezroot()}  /></a>     {/if}

 {/foreach}  

{undef $photos}  

{/if}

this might help you :)

Sandeep

Romeo Antony

Saturday 03 July 2010 10:13:41 pm

Thank you sandeep

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