Reputation: 155
I'm currently having a problem with Lightbox 2. All scripts and CSS are installed correctly and I haven't changed or added code to the css and scripts.
I keep getting the result below every time and I can't seem to fix it. Any ideas on why this keeps happening?
Upvotes: 6
Views: 759
Reputation: 146
I had the same problem. Fortunately, the solution is very easy:
In lightbox.css, add the following line to .lightbox .lb-image:
max-width: inherit;
This should fix your problem. I found the answer at https://github.com/lokesh/lightbox2/issues/69
Upvotes: 10