[wp-meta] [Making WordPress.org] #3890: Trac: Increase preview file size limit

Making WordPress.org noreply at wordpress.org
Tue Oct 30 05:58:31 UTC 2018


#3890: Trac: Increase preview file size limit
-------------------------+---------------------
 Reporter:  melchoyce    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Trac         |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by dd32):

 An example of this is
 https://core.trac.wordpress.org/attachment/ticket/45073/Upgrade%20paths.jpg
 which is displayed inline in the comments thread, but is hidden in the
 attachment view as it's too large.

 Displaying a preview for `.diff` files over 1M would actually not be ideal
 (The larger a diff is, the more processing time it takes to convert to
 HTML), so what we need is something specifically for images I feel.

 Perhaps we should instead turn off force-download for `/raw-attachment/`
 for image mime-types and have the comments link images directly to the
 image rather than the attachment screen?

 If we can't turn off force-download of images, a quick-and-dirty
 workaround is to link to WordPress.com Photon instead (which might
 actually be easier, as less Trac changes..) -
 https://i0.wp.com/core.trac.wordpress.org/raw-
 attachment/ticket/45073/A57FA3F0-1197-49AA-91C4-694CD28062E0.png

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3890#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list