I'm using the Nivo Slider jQuery Plugin in a div that has a smaller size then the images I'm displaying. When the Slider slides to the second image an on the images are scaled down correctly.
But when the first image is displayed for the first time (directly after loading the page), it is scaled only in width, but not in height. How can I change that?
Example: Let's say, all my images have a size of 1024*768 pixels. The div has a width of 400px. And I have 3 images in the slider.
EDIT: I just noticed, this only happens in IE, in Firefox there is no such error.
I had the same problem too - I added height: auto !important;
to .nivo-main-image
.
In nivo-slider.css add
.nivoSlider { height:520px; }//specifies the height
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With