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

Sometimes cloudinary fails to generate thumbnails #47

Description

@jmaupetit

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions