Request : Link when image is click on fancybox mode
Permalink Browser Info Environment
hi, i really like this plugin,
i want to request some features:
when we click on pict thumbnail, the pict show on fancybox mode. when we at fancybox mode, the only thing we can do is close fancybox, or go to next/prev pict.
Can you make some feature when we click the pict, user is directed to some link as we define?
thanks ^^
i want to request some features:
when we click on pict thumbnail, the pict show on fancybox mode. when we at fancybox mode, the only thing we can do is close fancybox, or go to next/prev pict.
Can you make some feature when we click the pict, user is directed to some link as we define?
thanks ^^
Type: | Discussion |
---|---|
Status: | New |
well im a dev, maybe you can give me some direction for me to try this. but im not rushing you. when you have time of course.
i'll trying to put this feature myself too, hope i get best result :)
i'll trying to put this feature myself too, hope i get best result :)
Hi,
Sorry I didn't respond sooner.
You're going to need to change the output of the block's view.php file so that the fancybox is using some HTML that you generate for its content instead of just the image.
Check out the fancybox API reference here:
http://fancybox.net/api
Specifically, if you set the "content" option and fill that with the HTML you want to show up in the lightbox, that should do what you want.
Hope that points you in the right direction.
-Jordan
Sorry I didn't respond sooner.
You're going to need to change the output of the block's view.php file so that the fancybox is using some HTML that you generate for its content instead of just the image.
Check out the fancybox API reference here:
http://fancybox.net/api
Specifically, if you set the "content" option and fill that with the HTML you want to show up in the lightbox, that should do what you want.
Hope that points you in the right direction.
-Jordan
Thanks for the feedback. I understand your request and think it makes sense, but unfortunately I will probably not be putting much more development effort into this addon soon because I have so many other things that are higher priorities on my todo list. If you are a developer (or work with a developer), I'd be happy to point you in the right direction to make something like this work.