Page 1 of 1

How to make admirior gallery pop up window in a link

Posted: Thu May 12, 2011 8:39 pm
by ashraf0078
Hi Admirior team thank you for this amazing plugin this my first pluig-in i fall in love with ! :)

I have question " Is it possible to make admirior gallery pop up window show when u click a link or button not the image thumbnails of the gallery?

My idea is to create a page ( works ) and it will have all the gallery thumbnails and when user click in the thumbnails image it show pop up with the image and this fine it works normal.

my challenge in a (home page) i have create icon image and i want when the user click it it open the admirior gallery pop up image with out including image thumbnails then user can click next to show the rest.

Basically can i call the pop up only in a href or url of the gallery i have in my site but in different page

Please Let Me know asap if it can be done or not ?

Thank you,
Ash

Re: How to make admirior gallery pop up window in a link

Posted: Thu May 26, 2011 2:45 pm
by Vasiljevski
First of all, sorry for late replay.

This is a little bit out of the concept of Admiror Gallery, and would require a great deal of code changing to make it work.

My guess is that it can be done on the template level, where you should create a new template for Admiror Gallery, based on existing one, and instead of thumbnails, generate a link, and (this is a tricky part) instead of generating image links you can use the AdmirorGallery API to create a JS array containing the image links and pass it to popup you are using (if the popup script supports this option) I think fancybox and slimbox support this, but I'm not certain.

So if you are willing to do some coding, this should do the trick. :) Also I will be glad to help along the way :)