Forums / Developer / Image gallery with hidden random events...
Pauline Grech
Thursday 21 September 2006 5:15:49 pm
How am I able to add random images to an existing image slideshow gallery, without allowing them to be seen in the thumbnail view on the side ?
Here's an existing gallery: http://www.vogue.com.au/fashion/show_coverage/2006/2007_australian_fashion_week/schedule/toni_maticevski/toni_maticevski_runway
And I'm wanting every 5th image (for example) to go to a random image or media file which appears in that same space!
For example, to work like this: http://www.style.com/peopleparties/parties/slideshow/091906CFDA/?iphoto=0
Any advice would be much appreciated, thanks!
Norman Leutner
Friday 22 September 2006 12:52:28 am
Hi pauline,welcome to ez.no
As you can see style.com has a click counter and the image number which are passed as a get parameter through the url :
&iphoto=7&cnt=15
You can do this in the same way, pass them as a view parameter and show your add every 5 images...
There is also a shuffle template operator from xrow within the contributions which you will need to show a random image: http://ez.no/community/contribs/template_plugins/extension_shuffle
Mit freundlichen Grüßen Best regards Norman Leutner ____________________________________________________________ eZ Publish Platinum Partner - http://www.all2e.com http://ez.no/partners/worldwide_partners/all2e_gmbh
Juliusz Calyniuk
Friday 22 September 2006 1:33:54 am
I do not have ready-to-use solution, but you can check this:http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_operators/mathematics/rand
WebStyle Systems | http://www.ws-webstyle.com