U4-8777 - ImageProcessor fails to generate thumbnail for animated gif

Created by Bjarne Fyrstenborg 25 Jul 2016, 22:46:17 Updated by Bjarne Fyrstenborg 26 Jul 2016, 14:03:37

Tags: Unscheduled

Relates to: U4-7720

I have reported this issue previously, where it was fixed - but now it seems to be back in latest changes in v7.5.0: http://issues.umbraco.org/issue/U4-7720

It is NOT an issue in v7.4.3 (see screenshot).

It use this version of ImageProcessor:

<package id="ImageProcessor" version="2.4.1.0" targetFramework="net45" />
<package id="ImageProcessor.Web" version="4.6.1.0" targetFramework="net45" />

In Umbraco 7.5.0 (with latest changes in dev-v7 at the time creating this issue) it fails to generate thumbnail for these animated gif files. The missing thumbnails in second screenshot are the animated gif files, that are displayed correct in v7.4.3

The attachment Misc.zip contains all the files in the Misc folder from the screenshot.

I also noticed another issue that might be related - in the new packager "SEO Metadata" package use an animated gif as screenshot, which thumbnail is black.

8 Attachments

Download Misc.zip

Comments

Sebastiaan Janssen 26 Jul 2016, 05:32:44

Ah! This might be because the processor for this is turned off by default in the latest ImageProcessor (see: https://umbraco.com/follow-us/blog-archive/2016/7/19/umbraco-750-beta2-released/ ).


Sebastiaan Janssen 26 Jul 2016, 10:03:24

@Bjarne.Fyrstenborg I am assuming you downloaded the ZIP version of Umbraco? That one seems to include older ImageProcessor dlls which have this problem, once I upgrade to the latest ImageProcessor/ImageProcessor.Web it starts working again. Can you confirm please?


Sebastiaan Janssen 26 Jul 2016, 10:09:18

Commit made by '''Sebastiaan Janssen''' on ''2016-07-26T12:09:05+02:00'' https://github.com/umbraco/Umbraco-CMS/commit/c206965f8884090566b795b1c9c07a4f29ef2eb0

U4-8777 ImageProcessor fails to generate thumbnail for animated gif

#U4-8777 Fixed

Updates to the latest ImageProcessor to ship in the zip release


Bjarne Fyrstenborg 26 Jul 2016, 10:31:22

@sebastiaan no, I was just running directly from Visual Studio with latest changes on Github, but it seems packages.config didn't referred to lastest ImageProcessor version then.


Sebastiaan Janssen 26 Jul 2016, 11:46:09

@Bjarne.Fyrstenborg Ah yes.. the problem could be that you upgraded from the first beta? NuGet doesn't upgrade all dependencies I don't think so it might have gotten stuck at the old version. The NuGet package does refer to 2.4.3 and 4.6.3 to be the minimum version. Hmmm..

Anyway, can you update those packages and try again? They should work now!


Bjarne Fyrstenborg 26 Jul 2016, 13:55:56

Hi @sebastiaan

Yes, I have pulled in the latest changes and it is working again. Now I see Wiley The Fox :D Thanks!

The beige gif preview is a geometric lion, but at first frame it is hidden ... so it is as expected.


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.5.0

Due in version: 7.5.0

Sprint: Sprint 38

Story Points:

Cycle: