#19232 closed enhancement (fixed)
Smush admin images to lower file size
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Graphic Design | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | george@…, scott@… |
Description
Yahoo has a great little website called smushit.com (or smush.it if you prefer) that uses 100% lossless compression methods to make images deliver the same quality in significantly less space.
For example, I ran the contents of the ~/wp-admin/images/ folder through it, and it shaved off 23.34% or 35.87 kb off the files.
Smaller files are always good!
Zip files attached with smushed images.
Attachments (2)
Change History (16)
georgestephanis — 19 months ago
georgestephanis — 19 months ago
comment:1
SergeyBiryukov — 19 months ago
Related: #17641
- Summary changed from Please smush your images before comitting them! to Smush admin images to lower file size
it's the sorta obnoxious thing that if it's done too early in the release cycle, the smaller files will just get overwritten as changes happen, but too late in the cycle noone wants to do it as it's late in the cycle. I'm not sure from a workflow perspective if it's really a practical solution as a ticket-action, or if it should be more of a 'guidelines' of smushing images before attaching them to tickets and such -- or if trac could somehow auto-smush uploaded images?
Commenting here as per: https://github.com/WordPress/WordPress/pull/5
Hey. I used an OSX app called ImageOptim which uses 'PNGOUT' library to crush the graphics.
I used the 'xtreme' setting which does 1000s of trials over the graphics with no visual changes.
Obviously, saving 150kb (multiplied by the bajillion worpress installs out there) is a significant saving.
- Milestone changed from Awaiting Review to 3.5
Let's handle this in 3.5.
comment:10
lessbloat — 9 months ago
Discussed in IRC this afternoon (https://irclogs.wordpress.org/chanlog.php?channel=wordpress-ui&day=2012-08-29&sort=asc#m54966).
Georgestephanis said, "This is something nacin's said before he'd rather have be an automated trigger in the repository using a tool like pngcrush, rather than using Yahoo's smushit API"
Nacin said, "I can ask bazza to add the script to http://code.trac.wordpress.org/browser/optimize-images. or batmoo".
comment:11
ocean90 — 9 months ago
Closed #21498 as a duplicate.
comment:12
helenyhou — 8 months ago
Done in [21980] - not sure if we should close as fixed or leave it open for an automated script (like bumpbot).
comment:13
nacin — 8 months ago
- Resolution set to fixed
- Status changed from reviewing to closed
There will be an automated tool at some point, but we can close this out.
comment:14
ocean90 — 8 months ago
Can't we borrow the script from the wp.com themes repo?

wp-includes/images folder compressed -- saving 34% or 11kb