[wp-trac] [WordPress Trac] #21304: Create unique file for rotated images
WordPress Trac
noreply at wordpress.org
Tue Feb 4 01:14:47 UTC 2014
#21304: Create unique file for rotated images
-------------------------+------------------------------
Reporter: wpdavis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by DH-Shredder):
Hi wpdavis! Apologies that this ticket went so long without a reply.
I'm mixed on this. I do see the value in maintaining a gold-master for
images.
However, in this case, unless the image is square, in half of the cases
(presuming that an image is usually rotated once for initial posting),
we'd be creating a new filename anyway, since the dimensions generally
change when rotating 90 degrees in either direction.
This, along with the the relative rarity of having a CDN (that you're not
handling automatic flushing via the admin) or persistent image caching
makes the edge case you're talking about seem relatively small, but would
affect a number of hosting companies and users that have issues with total
file counts.
Are there hooks that are missing in core to prevent clearing the image
caches you're looking to bust?
I'm not thoroughly against the idea, but would be interested to hear use-
cases where this affects a large enough group of users to warrant the
increase in file numbers.
Related: #21810
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21304#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list