1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 17:30:59 +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 Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
default160x120.png Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
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 Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
image160x120.png Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
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 Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
pdf160x120.png Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
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 Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
zip160x120.png Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
zip280x210.png Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00