Skip to content
This repository was archived by the owner on Feb 8, 2018. It is now read-only.
This repository was archived by the owner on Feb 8, 2018. It is now read-only.

Failed GIF resizing returns original image, can we return first frame of original instead? #2

@bedrich

Description

@bedrich

To prevent GIF-induced seizures, we are displaying Adept-resized images on Haven "streams," . This allows us to display the first frame of a GIF and replace it with the original image when a user hovers over the asset. However, if Adept fails to resize an image, e.g. https://dxnxnn9hds79e.cloudfront.net/loader/maxwidth-300/c/0cbe0955de540c7df15966c63bd698ab9258d0e3?url=https%3A//gimmebar-assets.s3.amazonaws.com/53d9608089b5b.gif, it returns the original (animated) image rather than a static frame. This creates UI problems as we can't confidently display a "click/mouseover on me to animate" icon.

If resizing fails, is it possible to return the first frame of an unresized image?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions