Is there a way to bulk replace images? (~1000 images needed compression)

Permalink
I have just bulk downloaded and compressed every image on a client's website to help with the pagespeed and SEO, the only catch is I cannot see an easy way of replacing these images due to how Concrete stores the images in multiple numbered files.

Am I missing something? Surely the only option isn't to replace each image individually? Running version 5.6.1.2

 
carlremy replied on at Permalink Reply
carlremy
Yes, this could be done, but it would require some scripting knowledge.
You could automate the addition of a new version for every file with a job queue or something.

Alternatively, concrete5 *should* serve compressed/optimized images by default. It has a somewhat sophisticated cache/image serving mechanism* built-in. You may need to upgrade your version to a new 5.6.x version, though.

*I say "somewhat" for v.5.6.x because there are more robust html5-ish methods of serving images like "srcset" and "picture" tags that detect the client viewport and device type, etc
JohntheFish replied on at Permalink Reply
JohntheFish
There is an addon currently under review in the PRB that may be able to do this.