[wp-trac] [WordPress Trac] #61916: Improving Image Upload Handling: Automatic Resizing for Large Images
WordPress Trac
noreply at wordpress.org
Wed Sep 18 06:51:23 UTC 2024
#61916: Improving Image Upload Handling: Automatic Resizing for Large Images
------------------------------------------------+--------------------------
Reporter: maheshmthorat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-testing-info reporter-feedback | Focuses:
------------------------------------------------+--------------------------
Comment (by maheshmthorat):
Hi Tonya,
Thank you for following up on this matter. We have reviewed it, but we are
still experiencing issues.
This is our system details
[https://drive.google.com/file/d/1ePcjuiuUqxhtjVyUu7mmu0EE1bKB0oGo/view?usp=drive_link]
When we have uploaded your image we only get single version of image.
Please find screen shot here
[[Image(https://drive.google.com/drive-viewer
/AKGpihaiYvf2kBfGP3tp6t4PgP_dFshdQ-afSvMoJD5S1NAUNvM-
JjHed9Krl1z1L5ttVQLtOlnS8HGQgUpLO1KlKcU9SWjOA73jd7g=w1866-h922-rw-v1)]]
While uploading the image below, we discovered that multiple versions were
created.
[[Image(https://drive.google.com/drive-viewer/AKGpihZ31SOuhwj-
AoH4q1frK_RZ3ezhVkuZmQP08Z4oN7_IsTtntGqKWqmhaBleaL2Dr5l067xhptLEz9L1oFe0XVsfZ548moRmOQ=w1866-h922-rw-v1)]]
With below code
{{{
<?php
add_action( 'after_setup_theme', function() {
add_image_size( 'custom_size_2400', 2400 );
} );
}}}
The only difference between these images is their pixel values and image
size.
Please let us know if you notice anything we might have overlooked.
Thanks,
Mahesh Thorat
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61916#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list