U4-7720 - Media grid doesn't display preview for animated gif

Created by Bjarne Fyrstenborg 13 Jan 2016, 20:56:18 Updated by Bjarne Fyrstenborg 25 Jul 2016, 22:38:57

Relates to: U4-8777

I have uploaded some different images to the media section, one of them is a animated gif: http://insidesearch.blogspot.dk/2015/09/visual-updates-to-search-and-now-cards.html

When I go to the media image, it does show the preview of the image (and is animating). It use the following url /media/1054/ogb-insider-blogs-googlelogox2-animated.gif

But in the thumbnail grid it use /media/1054/ogb-insider-blogs-googlelogox2-animated.gif?width=500&mode=max .. when I request this url in the browser I get the following error: "The parameter is Invalid". If I refresh the "error"-page I sometimes get a "Out of memory" error.

You can find the image in the attachments below (added as zip-file).

Tested with Umbraco version 7.4.0-nightly143

6 Attachments

Download OGB-INSIDER-BLOGS-GoogleLogox2-Animated.zip


Sebastiaan Janssen 20 Jan 2016, 16:43:49

In debugging, I find that it really is an Out of memory error all the time, asked James for some feedback : https://github.com/JimBobSquarePants/ImageProcessor/issues/308

Mikkel Johansen 25 Jan 2016, 21:25:31

We have in our Umbraco websites choose not to put any width or height on GIF images. So the gif is not handled by the ImageProcessor.

It looks like that ImageProcessor is doing a lot of work on GIFs. Resizing every single image in the animation and then finalizing it bye combining all the images to one GIF.

Sebastiaan Janssen 04 Feb 2016, 13:21:36

A PR for this is now pending: https://github.com/JimBobSquarePants/ImageProcessor/pull/322

Will need some further updates I think, but shouldn't be much more work now.

Sebastiaan Janssen 09 Feb 2016, 13:09:57

PR merged, waiting for new version to be released.

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.4.0

Due in version: 7.4.0

Sprint: Sprint 8

Story Points: