문제

My website has about 20 thousand product images. Google Page Speed tells me they can be optimized, and it's correct - the difference is huge. Google is able to maintain identical quality and reduce the image size by 70-90%, and Page Speed even optimizes them for me and provides me with a link to the optimized image. This would be great if I only had a few images, but I can't manually update 20k images. I don't want to make any programmatic changes to handle optimization, I'd rather just run all of my images through a piece of software that can optimize them and replace the existing images. I would greatly appreciate it if someone who has been through this before can recommend a good program that can accomplish a job of this size while still maintaining quality. Thanks.

도움이 되었습니까?

해결책 2

I ended up using a service from Yahoo, SmushIt: http://www.smushit.com/ysmush.it/. It can handle several hundred images at a time. I tried uploading 2,500 and it froze, but had no problem doing 400-500. The compression isn't quite as good as Google's, as Google Page Speed still says it can compress some of them an additional 3-8%, however, I've noticed that Google will sometimes reduce image quality, whereas SmushIt maintained exact quality 100% of the time.

다른 팁

If you're using a Mac I'd recommend http://imageoptim.com since you just drag and drop the files. It saves the files in its original location. For Windows on Adobe AIR some people seem to like Shrink O'Matic - http://toki-woki.net/p/Shrink-O-Matic/

Here is the download link for Page Speed image optimizer. Cheers!

Your best best is to use Google's own PageSpeed script. Just install it on your server and you are good to go!
On Apache: mod_pagespeed
On nginX: ngx_pagespeed

Never used it. Sounds like it's up your alley though: http://www.imageoptimizer.net/Pages/Home.aspx

Looks like it adds some "promo" text to the bottom of the images unless you pay for it though. Someone else might have a better option.


Almost forgot about this one: http://www.gimp.org/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top