0

I am using lightbox to display the large versions of multiple thumbnails on this website.

So the best way to describe my problem is to follow this steps below.

  1. Click the second image - notice it loads with a width of 100%
  2. Close the image and click on the first image followed by clicking on the right arrow to display the second image.
  3. Notice how the width of the previous image is retained making the second image (after clicking next) is very small.

I imagine its a css / js issue any help would be much appreciated.

4

1 回答 1

0

It is a css problem probably caused by bootstrap, if you are using bootstrap add this line in your lightbox.css.

.lb-image{ max-width: inherit; }

Cheers!

于 2013-12-13T11:32:20.920 回答