[wp-trac] [WordPress Trac] #55289: Large image fails to create a `scaled` version and subsizes

WordPress Trac noreply at wordpress.org
Thu Mar 3 02:03:34 UTC 2022


#55289: Large image fails to create a `scaled` version and subsizes
--------------------------+------------------------------
 Reporter:  mitogh        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mikeschroder):

 Replying to [comment:3 adamsilverstein]:
 > Interesting! The comment there implies this makes resizing more
 efficient..
 >
 > This was introduced in https://github.com/WordPress/wordpress-
 develop/commit/e2d2c45c6b7ed013139be7ab8f3833750684e28d maybe we can skip
 doing this when the original file is already so large? cc: @mikeschroder

 Thanks for the ping! I can't remember why it would make it more efficient
 off the top of my head, unless maybe there was more multi-sampling going
 on if it's not set.

 I'll look into this.

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


More information about the wp-trac mailing list