[wp-trac] [WordPress Trac] #48304: Big Image: Revisit 'threshold' suffix on file names

WordPress Trac noreply at wordpress.org
Mon Oct 21 20:34:30 UTC 2019


#48304: Big Image: Revisit 'threshold' suffix on file names
--------------------------+---------------------
 Reporter:  kraftbj       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.3
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by azaozz):

 Replying to [comment:11 chrisvanpatten]:
 > I want to note that to me the simpler format here is a major advantage
 of this approach as it allows us to construct the URL to the "threshold"
 version from any size, without knowing exact dimensions.
 > ...
 > Frankly, I'd like to see this change rolled out across the board; using
 the image size name as the suffix instead of exact dimensions. I'd be very
 disappointed to see this go away.

 As @desrosj points out above 48304.2.diff doesn't change that. It is to
 just append another (static) string before the threshold value to make
 these scaled images easier to recognize when looking at the uploads
 directory directly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48304#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list