[wp-trac] [WordPress Trac] #25170: Add actual file size to attachment publish meta box

WordPress Trac noreply at wordpress.org
Sat Sep 7 16:16:15 UTC 2013


#25170: Add actual file size to attachment publish meta box
------------------------------+------------------
 Reporter:  desrosj           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.7
Component:  Media             |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by desrosj):

 Replying to [comment:8 helen]:
 > Replying to [comment:7 desrosj]:
 > > It could also be very useful for sites on a multisite install or
 hosting plan that have reached their upload quota. They can use this to
 identify and delete larger, unused files to make room without needing to
 have access to, and muck around with FTP.
 >
 > I think that's an interesting example. This brings up something else I
 was wondering about (and have no intention of displaying anywhere by
 default) - that generated image sizes also take up space.
 >
 > Reasoning is good enough for me - looking at the filters patch on #25171
 right now, then will tend to this.

 I had thought of that as well actually. My original idea for this was to
 make the field expandable, mimicking the post status, visibility, and post
 date fields.

 A majority of times, you don't display the image in its full size on the
 front end anyways.

 When I originally thought of this, I was setting up a slider. It was not
 loading very fast, and I wanted to check the image sizes to see how large
 they were. Because I was showing a custom image size on the front end, the
 overall image size would have only given me a hint as to whether the files
 were too large, but it would be more useful to have the file size of the
 actual image size I was displaying.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25170#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list