Closed (fixed)
Project:
Scald File Provider
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2014 at 09:29 UTC
Updated:
7 Nov 2014 at 06:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nagy.balint commentedHere is the first patch to do that with imagick.
Currently when the atom is fetched it will create the thumbnail with imagick if the thumbnail field is empty.
With this, it will always work, even when the file is replaced at the second step of upload or when the user is editing an atom.
It could also be done at upload time like some other providers do, but then additional handling is required when the file is replaced like above.
Not committing it yet, as there will be some additional tests, and of course suggestions are welcome.
Comment #3
nagy.balint commentedCommited, as it seems to work fine. 1528880
Further improvements can be done in follow up issues.