homepage Welcome to WebmasterWorld Guest from 54.161.192.130
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

    
Compressing/Scaling images in WordPress
Is batch processing an option?
shallow

5+ Year Member



 
Msg#: 4314126 posted 6:54 pm on May 15, 2011 (gmt 0)

I've used Page Speed Labs to get a report about my site. Two high priority items that need attention are Leverage browser caching and Serve scaled images.

My site is image intensive; couple of thousand.

I'll leave the caching up to my web developer, but is there a way in WordPress to automatically batch scale images and/or compress them a bit more.

I don't want to overdue it because images are an important part of my site. But I would like reduce their weight without significantly reducing their overall appearance.

Got a big job ahead of me if I have to do this one at a time. Using WordPress 3.1.2.

Thank you.

 

ergophobe

WebmasterWorld Administrator ergophobe us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4314126 posted 10:59 pm on May 15, 2011 (gmt 0)

It should scale images automatically if you upload them via the Wordpress uploader. It doesn't have great flexibility on the jpg image quality, but it should resize and cache the various sizes.

shallow

5+ Year Member



 
Msg#: 4314126 posted 11:37 pm on May 15, 2011 (gmt 0)

Thank you ergophobe. Discussed the situation with my web developer today and he's going to try CSS Sprites, and a couple of other things to speed up the site.

If these work, they are much preferable to over compressing images and the resulting loss of quality visually.

I don't thoroughly understand CCS sprites, but they sound a little like image slicing I did years ago in Photoshop when I first published my site with FrontPage.

rocknbil

WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4314126 posted 4:50 pm on May 19, 2011 (gmt 0)

Can you do this manually?

Photoshop would make this a snap. Download your images to a directory, create a temp destination directory, run a batch action on it, check them all out, if it's all good, upload them to the original directory.

A *big deal* with a lot of WP themes I see are thumbnails, many themes/sites use the original huge image scaled down. This may take a different approach if this is the problem you're facing. It shouldn't be too bad though, you'd put your scaled down images in a directory of it's own on your server and point the requests to that directory instead of the full sized ones.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved