Animated gifs with specified number of loops

Just noticed an issue with the Safari browser on Mac OS 10.12.6, iOS 11.2.1 and iPad 2 with animated gifs playing one less loop than the loop count specified (i.e 3 loops specified, gif only loops twice) when exporting from Adobe Photoshop CC (in previous and latest app versions). The correct number of loops play fine in Firefox and Chrome browsers on both Mac and PC. Have updated to latest Safari version, still the same issue. Have also checked older gif files saved in 2016, which looped correctly as specified before, now behaving the same way. Doesn't seem to be an issue if gifs set to loop forever.

iMac (Retina 5K, 27-inch, Late 2014)

Posted on Jan 2, 2018 12:07 PM

Reply
3 replies

Jan 2, 2018 1:55 PM in response to drewhar

Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. Then try Safari/History/Show History and delete all history items. Quit/reopen Safari and test. You can also try try Safari/Clear History…. The down side is it clears all cookies. Doing this may cause some sites to no longer recognize your computer as one that has visited the web site. Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J. When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Select Library/Caches/com.apple.Safari/Cache.db and move it to the trash.


Go to Safari Preferences/Extensions and turn all extensions off. Test. If okay, turn the extensions on one by one until you figure out what extension is causing the problem.


Safari Corruption See post by Linc Davis


If that doesn't work, try running this program in your normal user account , then copy and paste the output in a reply. The program was created by etresoft, a frequent contributor. Please use copy and paste as screen shots can be hard to read. On the screen with Options, please open Options and check the bottom 2 boxes before running. Click “Share Report” button in the toolbar, select “Copy Report” and then paste into a reply. This will show what is running on your computer. No personal information is shown.

Etrecheck – System Information

Jan 3, 2018 1:56 AM in response to Eric Root

Many thanks Eric, I have tried previously emptying the cache in Safari, but it made no difference, I can try again.


However, I have found the same problem when viewing animated gifs which have a specified loop set to repeat 3 times, for example, only looping twice on three separate devices e.g. a desktop iMac, an iPhone 6s and an iPad 2, so was just trying to establish if this is a generic glitch with the Safari browser ?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Animated gifs with specified number of loops

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.