Galleria Javascript Gallery in IE7 & IE8

Anriëtte Myburgh picture Anriëtte Myburgh · Feb 8, 2010 · Viewed 7.2k times · Source

I have implemented the Galleria & SmoothDivScroll plug-ins together but in IE7 & IE8 the image gets distorted [ratio is not kept in scaling] slightly when its orientation is portrait (i.e. when the image gets loaded into #main_image, the image container).

In Safari and Firefox, everything is fine. Does anyone else encounter this problem? How did you fix this?

Answer

Anriëtte Myburgh picture Anriëtte Myburgh · Feb 18, 2010

I found that it was some CSS giving me problems. IE7 & IE8 apparently does not know how to handle scaling while keeping the ratio the same. I gave the image width & height properties, and that seemed to fix it.