WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
Sort of works but consider cleaning up code (1 post)

2 stars
  1. oskarmothander
    Member
    Posted 8 months ago #

    There are a ton of tags you insert and also you insert an iframe for some reason? Iframes are never ever needed anymore and are considered bad practice! If you need to load something dynamically you can use ajax.

    Also if you upload a very large image the lightbox can become larger than 100% of your screen height/width.... made me remove it!

    It would also be awesome if media gallerys would automatically become lightboxed! I made this change myself by modifying the wp gallery function to add a rel="lightbox" on the link tag when selecting that the images link to the image instead of a page.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.