Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gif support? #155

Closed
tap-andy opened this issue Oct 17, 2019 · 5 comments
Closed

Gif support? #155

tap-andy opened this issue Oct 17, 2019 · 5 comments

Comments

@tap-andy
Copy link

tap-andy commented Oct 17, 2019

Does this solution support gif images? From what I've read I believe it should but the following URL gives an error message:

https://images.theadventurepeople.com/814x814/11/11-115895-tisa/beautiful-bali-9-days-c-cgmn5wqe.gif

{"status":400,"code":"RequestTypeError","message":"The type of request you are making could not be processed. Please ensure that your original image is of a supported file type (jpg, png, tiff, webp) and that your image request is provided in the correct syntax. Refer to the documentation for additional guidance on forming image requests."}

When I request this through the demo website, it works as expected but not directly. It doesn't work, even without the size portion of the URL.

@hayesry
Copy link
Member

hayesry commented Oct 17, 2019

Hey @tap-andy. This looks like a semi-duplicate issue of #112, which has been added as a feature request to our backlog for supporting multiple levels of sub-directories. As for GIF support, SharpJS (the image processing engine behind the solution) supports reading GIFs but not outputting them at the moment. This would be a feature request for that team at (https://github.com/lovell/sharp/). Hope this helps!

@tap-andy
Copy link
Author

Thanks @hayesry. I've changed my requests to encode the request for GIFs only. Not ideal but it'll have to do for now!

@github-actions
Copy link

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@github-actions
Copy link

This issue was closed because it has been inactive for 7 days since being marked as closing-soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants