• Resolved tnightingale

    (@tnightingale)


    This is a great plugin for inline lightboxes (I use it for login/logout form) and manually lightboxing WP galleries within ACF WYSIWYG fields. But for some reason the auto lightboxing of linked images in posts isn’t working for me. The links have no classes added. I can manually add the venobox class and then it works, except there is no title in the lightbox (I’ve selected Alt Text as the source for it).

    Here is the page I’m testing it on: https://totabuild.org/traveltrade/itinerary/sample-sweet-savoury/

    This is a custom post type; does the auto lightboxing only work for standard posts and pages?

    The sidebar gallery has been manually coded and it’s fine. The larger images in the main content area are the problem. The first one has the class manually added to the image link. The second one doesn’t (no lightbox at all).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author neilgee

    (@neilgee)

    I looked at the second image on the example given I see that it doesn’t have a link around it – <a href="src"><img src="..." /> </a>

    The images need to link to the media file – which you do when inserting the image from the media library in the post editor – see some intruction here https://themes.wpbeaches.com/venobox/plugin-options/#linked-images

    Thread Starter tnightingale

    (@tnightingale)

    Sorry, I was playing around later and remove the link. I’ve put it back and you’ll see there is no lightbox applied automatically.

    Plugin Author neilgee

    (@neilgee)

    Ok, I see the issue now, the image is labelled – https://totabuild.org/traveltrade/wp-content/uploads/2016/10/Mission-Hill.jpg?x99669 – which is an incorrect way, it should really end in the .jpg

    The plugin scans the page for images that end in .jpg, .jpeg, .png and .gif so anything outside of that does not get a lightbox.

    Hope that helps!

    Thread Starter tnightingale

    (@tnightingale)

    Thank you – it was W3 Total Cache adding id tags (in the browser cache settings) – turned that off and now it’s working fine. Every problem I have these days comes from some setting in W3TC… wonder if it’s worth it.

    Anyway maybe this will help someone else having the same problem.

    Plugin Author neilgee

    (@neilgee)

    Ok thanks for letting me know what was adding the extra parameter

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Automatic lightboxing of in-post images not working’ is closed to new replies.