user9033804
user9033804

Reputation:

Tumblr Photoset's Lightbox showing images of different sizes

Basically, I've recently started to mess around with Tumblr's coding and I've encountered a problem. I'm using the pixel union photoset script on my theme but for some reason, when I click to open the photoset's lightbox, the images displayed are of different sizes. The active image would be bigger than the rest. Any ideas why?

picture of the issue : enter image description here

Upvotes: 0

Views: 262

Answers (1)

chloe784
chloe784

Reputation: 609

This has occurred to me when I have width: 100% or height: auto or something of the likes applied to all img's. Try instead applying it to img:not(.lightbox-image), it should fix the problem.

Upvotes: 0

Related Questions