You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sharp has an option to resize with "animated": true or "animated": false in the edits in the base64 edits config. Within the Craft admin, resized .gifs are not animated, but I'd like them to be animated.
Sharp has an option to resize with
"animated": true
or"animated": false
in theedits
in the base64edits
config. Within the Craft admin, resized .gifs are not animated, but I'd like them to be animated.If I'm trying to check for file type and setting
"animated": true
, is the recommended way to do this using a custom image transform class? Like outlined here: https://nystudio107.com/docs/image-optimize/advanced.html#writing-your-own-image-transform-classIf I were inside the
SharpImageTransform.php
class and modify it like below, I get the animation happening in Craft admin:Is there another way that I should be going about this?
The text was updated successfully, but these errors were encountered: