1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00
phorge-phorge/webroot/rsrc/image
epriestley f706093933 Support thumbnailing non-image files and straighten out setup for 'gd'
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
2011-06-13 13:49:17 -07:00
..
icon Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
phabricator_logo.png Replace "Phabricator" menu text with phabricator logo 2011-05-29 02:48:14 -07:00
phabricator_logo_admin.png Make the admin view look better, and fix a minor Chrome CSS glitch 2011-05-29 11:39:52 -07:00
sprite.png Import some code, some of which may be relevant to the project. 2011-01-17 19:31:39 -08:00