[wp-trac] [WordPress Trac] #64943: WP generates duplicate pictures after Upload

WordPress Trac noreply at wordpress.org
Wed Mar 25 16:40:37 UTC 2026


#64943: WP generates duplicate pictures after Upload
--------------------------+------------------------------
 Reporter:  fotodrachen   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  6.9.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by fotodrachen):

 Replying to [comment:4 siliconforks]:

 > Note that the `medium_large` size works differently than the `medium`
 and the `large` sizes.


 OK, if that was the goal, then the goal has been achieved.
  - medium_large has width 768 (768x1023)
  - large has longest 1024 (769x1024)
 Sorry for the noise.
 I had assumed it was a consistent cascade or pyramid structure with a
 factor of approximately 2 between each level.
 I’m familiar with this kind of setup from tiled web services that use
 aerial imagery. It’s used there to speed up the services.
 But I don't understand the point of generating two nearly identical images
 that differ in size by just one row of pixels.
 There are surely smarter solutions, such as having both sizes link to the
 same file within a tolerance.
 I have 173 such duplicates on my website that are taking up disk space.

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


More information about the wp-trac mailing list