The issue of some images not lightboxing is being discussed. piffy noticed that on their instance, one image lightboxes while another with similar dimensions does not. awesomerobot explained that the image height is the determining factor, with images 500px or taller lightboxing, while those under 500px do not. However, when images are manually scaled down in a post, it can create an odd experience. piffy noted that they intentionally scaled down images to 35% so that users could view them at full scale using the lightbox feature, but it only works for images over 500px tall. They agree that this is a weird edge case and their intention was for all images to lightbox in this scenario.
On my instance, one of these images lightboxes and the other doesn’t. I tested here on meta by editing it into one of my older posts and it also seems to have the same problem
It looks like the image that lightboxes (Hoppip) has a height of 501px, that’s just 1px over the default max image height value of 500. So that lightbox lets you view it at the full 1px taller size.
The other image (Growlithe) is only 498px tall, so it doesn’t lightbox because it can be posted at the full size.
So that’s working as expected.
One thing that makes it a little bit of an odd experience is when images are manually scaled down in the post (in this case both images have been scaled to 50%). It seems like if we have the original image, we should lightbox it so people can easily view it at full scale…
I’m working with images that are around 500px tall and I guess some are a bit over and some are a bit under. I set them all to 35% scale so they fit together side-by-side but also with the idea that if you want a closer look you can use the lightbox like a gallery.
In this example only the first image lightboxes and also creates this strange positioning: