[wp-trac] [WordPress Trac] #59684: 'filesize' metadata not updated after resizing media

WordPress Trac noreply at wordpress.org
Mon Oct 7 07:50:23 UTC 2024


#59684: 'filesize' metadata not updated after resizing media
-------------------------------------------------+-------------------------
 Reporter:  vertisoft                            |       Owner:  antpb
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.7
Component:  Media                                |     Version:  6.3.3
 Severity:  minor                                |  Resolution:
 Keywords:  has-testing-info has-patch changes-  |     Focuses:
  requested                                      |
-------------------------------------------------+-------------------------

Comment (by sayedulsayem):

 I tested this issue and found out the issue is valid. Let me demonstrate
 it in detail.
 I uploaded a large image see the screenshot. The size after scale is **473
 KB**
 [[Image(https://i.ibb.co.com/jL8Q5Hb/Initial-Upload.png)]]
 Then, I edit the image and crop it. see the screenshot. The size is still
 showing **473 KB**
 [[Image(https://i.ibb.co.com/B3jN1Fd/After-Edit.png)]]
 When the actual image size in the server is **217 KB**. See the
 screenshot.
 [[Image(https://i.ibb.co.com/DRDMLGt/Actual-Size.png)]]

 From the bug-scrub, we think we have to recall or regenerate image
 metadata after editing. Anyone could submit a patch or PR. Thanks

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


More information about the wp-trac mailing list