Switched lightbox


I decided to switch from “CSS3 Lightbox” to “Simple Lightbox”. Main reason was that “CSS3 Lightbox” did not view my pictures in a large size. There is not options page where you could configure it. The good thing about it was that it was really light weighted. “Simple Lightbox” views the pictures in a higher resolution but is somewhat heavier. Guess will have to live with that.

I wish you well


3 Comments on "Switched lightbox"

  1. I didn’t consciously register what the previous lightbox version looked like, but this one works at least as well on desktops, and infinitely better on mobile devices. The old one tended to just show a picture that would shrink as one tried to pinch-zoom into it (possibly something to do with the virtual-screen calculations).

    You’re linking to the full-size images; doesn’t wordpress offer some big-but-scaled version as well when you pick the link target for images?


    1. You work longer with wordpress then me, so tell me 😉
      As far as I know yes, there is the option to link to a lower resolution image. I still figure things out.
      Would be ideal if I could set a default maximum size that I link to somewhere … will see what I can find.


      1. I was wrong about the image sizes – there is a setting for the sizes that WP creates after upload (basically a resolution tree from 150×150 to 1024 x 1024), but there isn’t an easy way to place e.g. the 300 px version in the text and have it link to the 1k version.
        Instead, there’s this plugin called “Imsanity” which seems reasonably maintained and current. You set a maximum size there and, after upload but before new images are added to the media library, they’re scaled to that max size given. Setting it to enforce 2k on the longest side should be enough for most web purposes. 🙂
        Another way would be to use the popular Next Gen Gallery, which comes with its own quirks, though – with default settings it has its own data folder(s) for images aside of the WP media library. However, it is able to work with pre-existing image collections, either by copying them into its own folder structure, or by keeping its metadata (image titles, sort order, gallery settings) in the WP database and simply linking to the original images (no double data on the server – but be aware that telling it to “delete images” will have it trying to delete them where they are, not just from the database).


Leave a Reply

Your email address will not be published. Required fields are marked *