Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Sometimes cloudinary fails to generate thumbnails #47

Open
jmaupetit opened this issue Oct 3, 2017 · 0 comments
Open

Sometimes cloudinary fails to generate thumbnails #47

jmaupetit opened this issue Oct 3, 2017 · 0 comments

Comments

@jmaupetit
Copy link
Member

jmaupetit commented Oct 3, 2017

Purpose

The following urls generates a 400 error:

  1. https://res.cloudinary.com/tailordev/image/fetch/c_thumb,w_370,h_200,f_png/https://ndownloader.figshare.com/files/2080690
  2. https://res.cloudinary.com/tailordev/image/fetch/c_thumb,w_370,h_200,f_png/https://ndownloader.figshare.com/files/2094771

The consequence is that no thumbnail is generated for this poster in the mobile app.

Failure reasons may be:

  • File size too large. Got 16982431. Maximum is 10485760 (case 1)
  • Invalid resource (case 2)

Proposal

As suggested by @willdurand, we need a placeholder in those cases.

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

No branches or pull requests

1 participant