HELP! Display all images in slimbox with paginated gallery
HELP! Display all images in slimbox with paginated galleryHey there. Need a bit of help. I have a gallery that is paginated - all works perfectly. I'd like that when my user clicks on an image though, it allows them to cycle through all the images in the gallery via slimbox rather than having to close slimbox, go to page 2 , then open it up again. Any ideas would be gratefully received.
Many thanks Z
Re: HELP! Display all images in slimbox with paginated gallePopups work by collecting all images inside of containing element. When pagination is active, containing element holds only filtered group of images, not all images. I don't have an idea how this could be done on easy way. Maybe to compare which images from some folder shouldn't be visible, and to put them in containing element with style="display:none".
Re: HELP! Display all images in slimbox with paginated galleMany thanks for the reply. I've found how get it to work possibly, however I'm not sure what code to change in Admiror.
It seems the way to work it is to put 2 calls on the page: One for the paginated results One that calls all the images but is set not to display. This site has it implemented, obviously it not joomla with admiror though. : http://svr8.acornhost.com/~infinity/amanda_myers.html Could you possibly point me to the code to play with to try this out at all - indeed was wondering if I could do it in a custom admiror template? Many thanks Z
Re: HELP! Display all images in slimbox with paginated galleWell one solution can be to add a JavaScript array off all images, and when image clicked, pass this array to slimbox and position to the current image. And this might be implemented on the template level.
You can find Slimbox API reference here : http://code.google.com/p/slimbox/wiki/j ... ple_images It shows how to pass a custom image array to the slimbox. P.S. When using the AdmirorGallery you should use AG_jQuery as a reference to jQuery library. Example: Original Code: Select all Code: Select all Help Admiror Gallery become even better,
give us a review on JED
Re: HELP! Display all images in slimbox with paginated galleI spend some time to test this with Slimbox API. Yes, it's possible, as Vasiljevski said.
First, find /plugins/content/AdmirorGallery/popups/slimbox/js/slimbox2.js and comment lines 9-15 Code: Select all Code: Select all |
