[wp-trac] [WordPress Trac] #62359: Converted images have the dimension suffix added to the full size image.

WordPress Trac noreply at wordpress.org
Fri Nov 8 18:58:45 UTC 2024


#62359: Converted images have the dimension suffix added to the full size image.
--------------------------------------+---------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  Media                     |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by ironprogrammer):

 * keywords:  has-patch => has-patch has-unit-tests


Comment:

 Thanks for the ticket, PR, and sample image, @peterwilsoncc!

 == Test Report
 Patch tested: https://github.com/WordPress/wordpress-develop/pull/7748

 === Environment
 - Hardware: MacBook Pro Apple M1 Pro
 - OS: macOS 14.6.1
 - Browser: Safari 17.6
 - Server: nginx/1.27.2
 - PHP: 8.2.25, ImageMagick support
 - MySQL: 8.0.27
 - WordPress: 6.8-alpha-59274-src

 === Actual Results
 - ✅ Converted image was saved with the new extension, without the
 dimensions suffix (`-{widthx}x{height}`).
 - ✅ Image exceeding the big image threshold was saved with the `-scaled`
 filename suffix (not affected by this patch).

 === Supplemental Artifacts
 Uploading adorable sample image before (`peggy.heic`) and after
 (`peggy-1.heic`) applying patch:
   [[Image(https://cldup.com/UnDE4zSQBE-3000x3000.png, 300px)]]

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


More information about the wp-trac mailing list