Updating non-optimized files for existing blog
-
We’ve just discovered optimizing files. Up to now we’ve been loading full size JPGs, which run to several MBs in size, and allowing the Child Theme to resize them.
We now want to use only optimized files for new posts – no problem there.
The question is what to do about all existing images on the site, which are still too large. We’re talking around 250 photos, each at numerous sizes. I don’t have any problem in optimizing them individually in Photoshop (except for the time it’s going to take me!). Does anyone know of a batch process to do this, as I’ll accept applying 72dpi to all of them, then optimizing at 50% with preset width of 1200 regardless of whether the photos are landscape or portrait)?
Can you suggest a batch process particularly for the upload and application on the blog? In an ideal world I would save the filename from Photoshop as the filename that the Media Library has used to store the original image before resizing. Will this automatically overwrite the previous version of the file, create all the new sizes, and still keep all the links to Posts that use the image? I’m guessing I’ll need to run Regenerate Thumbnails in order to make this process work properly…? Would it be simpler to go on my WordPress server and overwrite the originating jpeg file and then run Regenerate Thumbnails?
How does all this affect the photos that people have already pinned, or linked to in other blogs? If we’re careful to keep all filenames the same as originals, will all links be retained?
Any other advice to make this all work? (!)
- The topic ‘Updating non-optimized files for existing blog’ is closed to new replies.