Page MenuHomePhabricator

Raise a more tailored exception if transform/thumbnail support is missing for cover images
ClosedPublic

Authored by epriestley on Mar 26 2019, 9:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 4:57 PM
Unknown Object (File)
Thu, Apr 11, 7:27 AM
Unknown Object (File)
Apr 1 2024, 10:49 PM
Unknown Object (File)
Mar 28 2024, 7:45 PM
Unknown Object (File)
Feb 6 2024, 1:31 AM
Unknown Object (File)
Dec 26 2023, 1:59 AM
Unknown Object (File)
Dec 22 2023, 8:04 PM
Unknown Object (File)
Nov 30 2023, 5:31 AM
Subscribers
None

Details

Summary

If "GD" doesn't support a particular image type, applying a cover image currently goes through but no-ops. Fail it earlier in the process with a more specific error.

Test Plan

Without PNG support locally, dropped a PNG onto a card on a workboard. Got a more useful error.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable