[wp-trac] [WordPress Trac] #33011: Uploading a 512 x 512 site icon creates a duplicated image in the media library (was: Site Icon)
WordPress Trac
noreply at wordpress.org
Thu Jul 16 07:00:39 UTC 2015
#33011: Uploading a 512 x 512 site icon creates a duplicated image in the media
library
----------------------------+-----------------------
Reporter: stuartshields | Owner: obenland
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.3
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
----------------------------+-----------------------
Changes (by netweb):
* keywords: => dev-feedback
* owner: => obenland
* status: new => assigned
* milestone: Awaiting Review => 4.3
Comment:
Testing: The original file uploaded was `bDkmXyEmr5.png` 512 x 512 and the
uncropped file is created prefixed with `copy-` along with the extra
thumbnails.
{{{
-rw-rw-r-- 1 netweb staff 11K Jul 16 16:38 bDkmXyEmr5-150x150.png
-rw-rw-r-- 1 netweb staff 27K Jul 16 16:38 bDkmXyEmr5-300x300.png
-rw-rw-r-- 1 netweb staff 23K Jul 16 16:38 bDkmXyEmr5-512x270.png
-rw-rw-r-- 1 netweb staff 38K Jul 16 16:38 bDkmXyEmr5.png
-rw-rw-r-- 1 netweb staff 11K Jul 16 16:38 copy-bDkmXyEmr5-150x150.png
-rw-rw-r-- 1 netweb staff 14K Jul 16 16:38 copy-bDkmXyEmr5-180x180.png
-rw-rw-r-- 1 netweb staff 15K Jul 16 16:38 copy-bDkmXyEmr5-192x192.png
-rw-rw-r-- 1 netweb staff 24K Jul 16 16:38 copy-bDkmXyEmr5-270x270.png
-rw-rw-r-- 1 netweb staff 27K Jul 16 16:38 copy-bDkmXyEmr5-300x300.png
-rw-rw-r-- 1 netweb staff 1.9K Jul 16 16:38 copy-bDkmXyEmr5-32x32.png
-rw-rw-r-- 1 netweb staff 23K Jul 16 16:38 copy-bDkmXyEmr5-512x270.png
-rw-r--r-- 1 netweb staff 38K Jul 16 16:38 copy-bDkmXyEmr5.png
}}}
Can we not just use the original 512 x 512 file uploaded and generate the
extra thumbs needed?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33011#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list