akv2 / MaxImage

The first jQuery plugin to use jQuery Cycle plugin as a fullscreen background slideshow.
http://www.aaronvanderzwan.com/maximage/2.0/
407 stars 219 forks source link

Single image won't show up in IE8 #18

Closed albi closed 3 years ago

albi commented 11 years ago

Took me a while to figure out the problem. But if there is one single image in #maximage then the javascript will throw up an error and won't work.

Is there a bug fix planned?

DePalmo commented 11 years ago

It also doesn't work in latest Chrome. But because I see that this was posted two months ago and no solution was provided, I'm guessing that this plugin is no longer maintained.

bucketpress commented 11 years ago

Just tested a single image in latest Chrome and it's working.

DePalmo commented 11 years ago

I can't show you my site because I already changed the plugin, but I did do another example from maxImage's demos and it puzzles me. I know that this didn't work, but now it does. I'm trying on one example with one image and on the other with multiple ones.

I know that I had problems with onImagesLoaded callback, because it didn't trigger. I used that for additional animations, because I didn't want backgrounds just to pop in.

If I will re-create the error, I will post additional details with demo page.

p.s.: tested on Chrome, IE10, Opera, FF, Safari.

rszmidt commented 10 years ago

I came across the same problem. What I found was using cycle options with one image causes the problem. If there's only one image running just the following works.

jQuery('#maxImage').maxImage({ onFirstImageLoaded: function(){ jQuery('#maxImage').fadeIn('fast'); } }); or just jQuery('#maxImage').maxImage()