I had a VA create a lot of images for products. It was labor intensive and they did a great job. The one thing I failed to mention was to trim whitespace before saving them.
They have already uploaded them to the site (and we are set to launch).
The alternative that I was going to do was going to be:
1. BACKUP
2. Use mogrify (ImageMagick is on the server…)
3. on the server, in each directory run \`find . -iname “\*.png” -exec mogrify -trim {} \\; \` (they are PNG because of the nature of the images)
4. Regenerate thumbnails overnight \*\*\*
I was hoping for an easier WordPress way to do this, but this may be the way.
\*\*\*\* it appears that [Regenerate Thumbnails]) will auto-regenerate the metadata (including size). Hoping that is true :-).
Does a tool exist to bulk remove whitespace easier than this \^?
[ad_2]