Skip to main content
Carola_BHG
Inspiring
March 6, 2018
質問

Animated gif loops 2 times when set to 3

  • March 6, 2018
  • 返信数 3.
  • 6609 ビュー

Hi all!

I have this problem occur randomly. I create a lot of ads in Photoshop as animated GIFs. According to specifications they have to loop 3 times and total animation must not exceed 30 seconds. So, I make the content distributed in three frames and then, set the loops. The problem is, I set the loop to 3 times, but then, the exported GIF only loops twice when we review the image in the browser.

If I set it to 4 times, it loops 3 times.

How can I get this working? It used to work just fine.

    このトピックへの返信は締め切られました。

    返信数 3

    JJMack
    Community Expert
    Community Expert
    March 21, 2018

    If you have a problem with a animatedgif you should post the animated gif so others can have a look at it or them or some example of your problem. Even better would be posting the layered document they were made from.

    JJMack
    Carola_BHG
    Carola_BHG作成者
    Inspiring
    March 21, 2018

    To add to this. I posted my animated gif and the problem, apparently, is not in the file itself. My gifs are perfectly fine configurated in Photoshop, but randomly, the exported file will reproduce the wrong quantity of loops accross many computers.

    Furthermore it will happen in a .gif file exported from a .psd file that was exporting just fine before.

    It would be worth posting this in some Chrome Community if it weren't because it also happens in other browsers such as Firefox.

    I would like to post the image but .zip or .psd files are not allowed and there is no Dropbox Public box anymore But is nothing so fancy, just a simple gif.

    JJMack
    Community Expert
    Community Expert
    March 21, 2018

    If you posted the animated gif in your append here many users here would be viewing your gif in chrome and if there is not problem in the file it will animate three time.   .gif is allowed here.

    JJMack
    Participant
    March 21, 2018

    I have the same problem. Created some gifs that should loop 3 times, then tested them on Chrome. The loop repeats exactly one time less that specified - tried make 4 loops and it loops 3 times.

    Then I tried viewing it on Firefox and the loop is ok. So the problem seems to be on Chrome's side as well

    JJMack
    Community Expert
    Community Expert
    March 6, 2018

    Do you have any examples you can post.  Why would the problem be random?  Random on all machines and all your gif?  Would be a very odd thing IMO!

    JJMack
    Carola_BHG
    Carola_BHG作成者
    Inspiring
    March 6, 2018

    Hi! Thanks for replying. As random as: Me and my workmate haven't been able to see what causes this, as sometimes happens, sometimes it doesn't - even exporting from a same document making some text changes, for instance. The first export will loop 3 times when set to 4, and the next export of the same document will loop 4 times.

    This banner is set to loop 3 times; you should see the "RESERVA YA" button three times, then the animation stops and doesn't play anymore. The third one the buttons appears, the image is fixed to the last frame.

    When I preview the banner it loops only two times. It stops after the second loop, not the third.

    Trevor.Dennis
    Community Expert
    Community Expert
    March 6, 2018

    Clutching at straws, but I wonder if it is linked to individual frame times.  If the last frame is set with a pause, and it messes up the loop timing for instance.   A total long shot, but I am struggling to think of anything better.

    Have you tried different computers and browsers?  Are you testing them from memory or via a web link?  i.e. is the file still downloading at the end of the first loop and causing an issue?  Ten seconds per loop sounds reasonably lengthy.  What is the resolution, number of frames, and file size?  Just throwing some stuff out there, but it might trigger an idea.