1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-02 07:29:25 +01:00
phorge-phorge/webroot/rsrc/image/icon/fatcow/thumbnails
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
..
default.p100.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
default60x45.png
default160x120.png
default280x210.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
image.p100.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
image60x45.png
image160x120.png
image280x210.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
pdf.p100.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
pdf60x45.png
pdf160x120.png
pdf280x210.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
zip.p100.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
zip60x45.png
zip160x120.png
zip280x210.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00