it is possible to show a link to the raw image in popup window of Fancybox?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I did this here: http://photocontest.highpoint.edu/
I had to hack/customize Fancybox to achieve this.
The biggest problem I had was that Fancybox creates clickable areas to go to the next/previous images. These clickable areas take 100% of vertical space. That means you couldn’t click on links below FancyBox. It took a bit of jQuery to manipulate CSS to work around that.
This is my javascript function to fix Fancybox CSS:
function fix_fancybox_css() { if ($("div#fancybox-content a").length>0) { $("#fancybox-left, #fancybox-right").css({ 'height':Math.floor($("div#fancybox-content a:visible").position().top)+'px', 'top':'0px', 'bottom':'' }); } }