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 ^^

Type: Discussion
Status: New
mkharisecario
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Hi,
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.
mkharisecario replied on at Permalink Reply
mkharisecario
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 :)
jordanlev replied on at Permalink Reply
jordanlev
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

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.