I am having getting my gallery images to open in a lightbox. Could you please tell me what I need to do to enable this functionality?
http://www.valerielyn.com/hayes-pre-wedding/
Help With Lightbox
(10 posts)
(3 voices)
-
Posted 1 year ago #
-
Hello,
I just visited your website, and it seems that the gallery is working fine.
What's the problem with it?
Posted 1 year ago # -
Hi,
Thank you for the response. I ended up installing a lightbox plugin to get the gallery lightbox to work. Is there a way to get the images to appear in lightbox style without a plugin? I have disabled the plugin so you can see the issue I am having. http://www.valerielyn.com/elmi-engagement/
Posted 1 year ago # -
Hello kellycook11,
You are using the [gallery] shortcode correct?
I'm not sure if this will work but we can try. Open up
/wp-content/themes/infocus/lib/script/custom.jsand on line 219 you should see this,jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({Try changing it like this,
jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox'], a[title*='WP-GAL']").prettyPhoto({Posted 1 year ago # -
Hi Elliott! That fixed the issue! Thank you so very much. :)
Does this theme support previous/next buttons in the lightbox gallery? When I click a thumbnail on this page: http://www.valerielyn.com/elmi-engagement/, I get a lightbox popup, which is beautiful. I would really like for there to be a previous/next button in the lightbox (either static or on hover) so that you don't have to close this lightbox and click another thumbnail to view the next image in the gallery. Any help is much appreciated!Posted 1 year ago # -
Try changing it to this instead,
jQuery("a[title*='WP-GAL']").attr("rel", "prettyPhoto[gallery]"); jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({Posted 1 year ago # -
I implemented that change, but now when I click a thumbnail, all I see is the lightbox overlay and a progress spinner.
Posted 1 year ago # -
Make sure that you do not have any other lightbox related plugins activated and also make sure that you update prettyPhoto.
You can find instructions in this thread, http://mysitemyway.com/support/topic/infocus-and-wordpress-31
Posted 1 year ago # -
That fixed it. Thank you so very much for your help!
Posted 1 year ago # -
Your welcome kellycook11, let us know if you have any other questions.
Posted 1 year ago #
Reply
You must log in to post.













