[wp-trac] [WordPress Trac] #64943: WP generates duplicate pictures after Upload
WordPress Trac
noreply at wordpress.org
Mon Mar 30 14:01:25 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:6 siliconforks]:
> It is probably possible to write a plugin that does that. For example,
you could use the `image_resize_dimensions` filter to skip any images that
are similar in size to images already generated.
>
> A simpler alternative would be to simply remove any sizes that you don't
think are necessary. There are existing plugins which can do that, e.g.,
[https://wordpress.org/plugins/disable-media-sizes/ Disable Media Sizes].
What WordPress does with the images isn’t really documented and happens in
the background.
You can only see the generated files if you look in the uploads folder via
FTP.
Now that I understand what’s going on, I can pay attention to this when
uploading images.
I prefer not to change the default settings, because they must serve a
purpose and other parts of the code expect these sizes.
In the future, I will use specific sizes and aspect ratios for my images.
I’ve summarized what to look out for in my blog and addressed it to
German-speaking Darktable users.
https://fotodrachen.de/groesse-und-format-der-bilder-in-wordpress/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64943#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list