[wp-trac] [WordPress Trac] #61916: Improving Image Upload Handling: Automatic Resizing for Large Images

WordPress Trac noreply at wordpress.org
Tue Sep 17 06:16:45 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:                 |     Focuses:
---------------------------+------------------------------

Comment (by maheshmthorat):

 Hi Tonya,

 Thank you for looking into this issue during the 6.6.x triage. I
 appreciate your help.

 To clarify the problem, when uploading large images (e.g., with dimensions
 over 7500 pixels), they are not being automatically resized to the custom
 size I’ve specified using `add_image_size('custom_size_2400', 2400);`. It
 appears that WordPress isn't automatically cropping or resizing these
 large images down to the maximum allowed size.

 Ideally, I would like the system to automatically resize any uploaded
 image to a maximum of 2400 pixels on the longest side. This way, we can
 avoid the need for manual cropping or resizing of images before uploading.
 Could this be related to changes in how WordPress handles image uploads,
 or is there another setting I should be aware of to enforce this automatic
 resizing?

 Please let me know if there's any more information you need from me, or if
 there's a workaround or setting I can adjust in the meantime.

 Thank you!

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


More information about the wp-trac mailing list