1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/webroot/rsrc/image/icon
epriestley dcf3b4d322 Reduce Pholio brokenness for non-image files
Summary:
Ref T5359. When users upload non-image file types (PDFs, text files, whatever), Pholio currently chokes in a few places. Make most of these behaviors more reasonable:

  - Provide thumbs in the required sizes.
  - Predict the thumb size of these files correctly.
  - Disable inline comments.
  - Make "View Fullsize" and "Download" into buttons. These mostly-work. Download should probaly really download, but CSRF on forms is a bit of a pain right now.

Test Plan: See screenshots.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5359

Differential Revision: https://secure.phabricator.com/D9548
2014-06-15 08:03:04 -07:00
..
fatcow Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
lightbox Introduce lightbox view for images 2012-10-22 19:06:56 -07:00
tango Add "DiffusionRawDiffQuery" 2012-05-02 13:43:45 -07:00
subscribe.png DifferentialRevisionView 2011-01-29 15:37:41 -08:00
unsubscribe.png DifferentialRevisionView 2011-01-29 15:37:41 -08:00