Jquery Object Fit not working in IE

Hi,

I am using the css object-fit property to fit the images which is working great in Chrome etc. but I found that in IE its not supported and found a jquery plugin on github but its not working at all. No matter what I do its simply not working.

http://bridalmakeupbylaura.com/new/gallery.php

If you check the above in Chrome then it works fine but in IE its not working. It was pretty simple to implement but for some reason its not working. Can someone please check as to why its not working ?

The plugin I got from git-hub is:

Any help is appreciated.

Thanks.

Hi,

Can anyone please help ???

Thanks.

I believe the documentation says that you you need to size the images container.

e.g.

.img-thumbnail{width:300px;height:350px;display:block}

Then you need to remove the width and height attributes from the image itself.

<img class="cover" alt="" src="http://bridalmakeupbylaura.com/new/pictures/thumbnails/gallery_14.jpg"/>

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.