Page MenuHomePhabricator

Link to stashed file should be size-limited
Closed, ResolvedPublic

Description

Author: neilk

Description:
When a file is uploaded and stashed (but not yet committed to the wiki), we show previews that are themselves stashed.

These previews link to the full version of the file. But because of the way the stash works, it is undesirable to serve large images. (The security is handled by a PHP script reading in from disk and writing to STDOUT). So there is a limit on the size of files that can be served. This annoys many people who click on the file and get a cryptic error message

Solution: instead of linking to the real file, link to yet another preview file, limited by size.

Nice to have: instead of a link to a page, use a lightbox to show the image, somewhat larger.


Version: unspecified
Severity: normal

Details

Reference
bz28316

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:25 PM
bzimport added a project: UploadWizard.
bzimport set Reference to bz28316.

neilk wrote:

Mark: I don't know why you feel this bugs is related to bug 28325. As far as I know, it isn't. Removing block.