This project is read-only.
2
Vote

Image flickers and disappears

description

I LOVE this plugin. I mean, seriously, LOVE it!!

There seems to be an issue with it though. I've downloaded 1.2.7 and it works, except for one weird thing. When the page loads, the thumbnail for 10.jpg appears in the thumbnail bar the way you'd expect. As the page continues to fully load, the count of the images increases normally until it counts to the 14th image. Here is when it gets weird. When it reaches 14, the count goes back DOWN to 13, and 10.jpg disappears from the thumbnail bar.

The demo on http://coffeescripter.com/code/ad-gallery/#ad-image-0 doesn't do this, but on my website, http://kimberwarden.com/js/ADGallery/example/example.html#ad-image-0, it does. I compared the source code of my site and yours, and they don't match. For instance, 1.2.7 uses jquery 1.7.2, but the version running on your site uses jquery 1.3.2. And the one on your site doesn't have the setTimeout(function() hard coded into example.html.

Is there any way you might have a moment to take a look at it? Thanks so much!
Kimber

comments

htccjansen wrote May 14, 2013 at 8:46 AM

Hi Kimber,

I've the same problem. My second image disapears from the thumbnail bar.
Did you have a solution found?

Best regards,

Henry Jansen

lilkim529 wrote May 25, 2013 at 10:41 PM

Hi! I am having the same problem as well. My second image flickers and then disappears from the thumbnail bar. I think it has something to do with this code...

<script type="text/javascript">
$(function() {
var galleries = $('.ad-gallery').adGallery();
setTimeout(function() {
  galleries[0].removeImage(1);
}, 4000);

I removed the 1 from the "remove image" area but nothing changed...

Any help would be much appreciated.

Thanks!

MASteinRaulerson wrote Aug 30, 2013 at 3:17 AM

Kimber- You were right, thank you very much! I removed the following code from example.html and, voila! the second thumbnail remains and the corresponding image displays!
:)
setTimeout(function() {
      galleries[0].removeImage(1);
    }, 4000);
Mary Ann