If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Am I right in thinking that this theme comes with a lightbox as default? If so when am I doing wrong to miss something so simple. So on my portfolio my images open up the post but then when I click on an image in the post it just opens in a new page. Please advise and apologies as I’m sure its something really simple…
Hello, I’m still not having any luck with getting the lightbox to work. It opens when I define prettyPhoto in the ‘rel’ field but the images or video in the portfolio entry aren’t opening up in a lightbox. I’ve tried changing the options for the media but nothing happens.
Also where will there be a fix for the video button overlay, which doesn’t do anything on the portfolio page.
I think the problem is caused by your image urls. The js script checks the file extension (eg jpg is an image, youtube.com is a video, etc.). In your case the image urls look like:
which breaks the function because the extension is jpg?9d7bd4 and not jpg. Maybe a plugin adds this php parameter? Try to deactivate all plugins and see if this solves the problem.
Would adding rel=”lightbox” to a link to make it work? If yes how can I add this?
For those who have encountered this problem, I found it was due to W3 Total Cache, and followed this advice…
The topic ‘Items not opening in lightbox’ is closed to new replies.