mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 18:10:53 +01:00
f706093933
Summary: Make 'gd' an explicit optional dependency, test for it in setup, and make the software behave correctly if it is not available. When generating file thumnails, provide reasonable defaults and behavior for non-image files. Test Plan: Uploaded text files, pdf files, etc., and got real thumbnails instead of a broken image. Simulated setup and gd failures and walked through setup process and image fallback for thumbnails. Reviewed By: aran Reviewers: toulouse, jungejason, tuomaspelkonen, aran CC: aran, epriestley Differential Revision: 446 |
||
---|---|---|
.. | ||
default60x45.png | ||
default160x120.png | ||
image60x45.png | ||
image160x120.png | ||
pdf60x45.png | ||
pdf160x120.png | ||
zip60x45.png | ||
zip160x120.png |