Hi
When clicking the images the descriptions do not show for the images. It appears to be a different lightbox to the one in the instructions.
Any assistance appreciated.
Regards
Paul
It is indeed a different lightbox. This script http://earthangroup.blackroom.com.au/javascript/scripts.js is stripping the standard BC's prototype lightbox effect and implementing fancybox effect. That said, the description should render, unless it's being removed by your script, if you have added it to your gallery items in backend (admin).
Cheers,
mario
Earthan,
What we know is they have pretty much disabled the BC lightbox effect and replaced it with fancybox.
Problem is that in doing so they are not adding the title attribute back into the a tag for each image, which is were the captions are coming from.
To fix this issue you will have to edit the code on your scripts.js file. I've created a jsfiddle page that shows the current code and what you will need to add to get the title attr back on your a tag.
http://jsfiddle.net/chaddidthis/ELuMJ/
Let me know if this doesn't work. I'm 99% sure it will though.
Thanks,
Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7
Hey Chad, I was 99% sure this would work for me too! At least I hoped it would, but, alas, it did not fix my photo gallery problem, and messed up my galleries. I can go back to the fancybox without captions, but I would really like to have them if possible.
If you can, take a look. Did I just mess up the implementation?
http://www.pujolskitchen.com/photo-gallery/deidre-visits-food-network
script is at:
http://www.pujolskitchen.com/javascript/scripts.js
at about line 453 i replaced with your code...
now the images take over the whole page and you can't navigate.
I'll have to revert back soon (can't leave it this way too long) ![]()
Let me know if you see something.
jeannie
I don't see you getting the title for the caption, did you see this code:
http://jsfiddle.net/chaddidthis/ELuMJ/
Chad Smith
Looks like that is happening because you are calling fancy box before you are trying to recreate the link for fancybox:
Try to replace lines 444-462(which should be your fancyBox function) with this code:
http://jsfiddle.net/chaddidthis/FMx44/1/
That should get ya where you want to be.
Hope this helps,
Chad Smith
That worked! You're the Man!
Now, is there a way I can format that caption? or where it the style pulling from?
http://pujolscookware.businesscatalyst.com/photo-gallery/deidre-visits -food-network
I can't thank you enough!
jeannie
No worries, glad to have helped.
To style the caption go to your screen.css file and on line 891 it should be #fancybox-title-float-main. You can give that the style you like.
Chad Smith - BC Gurus
North America
Europe, Middle East and Africa
Asia Pacific