Hi!
You can use the TinyPNG/TinyJPG Compress JPEG & PNG images plugin together with WP Offload S3 Lite. They should work nicely together.
The images will be compressed and then put on S3 by WP Offload S3 Lite.
Hope this helps!
Yes
I use this way, taking advantage of the issue I usually delete the images in the EC2 instance and update with the images that are in the library with the cloudfront url only it seems that after updating the plugin does not recognize the images as optimized. When I run tests on pagespeed insights does the message from non-optimized images appear this is normal? Another issue, has the monthly images limit, how does the image purchase system is through credits? My limit will always be exceeded since the site is a real estate ads portal.
The plugin is tested quite extensively with WP Offload S3 Lite. Maybe we can give you a few pointers what could be happening on your server. The plugin first looks at any images that are in your media library from the information in the database. Then it checks if compression already took place. If it has been compressed, then it checks if the actual image is on disk. If it is not present or only in S3 it will say file moved. If the file size does not match the compressed filesize it will say “file changed after compression”. If there are files present on the local filesystem and these have not yet been compressed, compressing them triggers an event to move them to S3 afterwards.
Again it is quite hard for us to see exactly what is happening on your server. Hopefully the details popup in the plugin gives you enough information about the different thumbnail sizes compressed, not compressed, changed in size and moved.
Concerning Pagespeed, there are a couple of things that may happen. What is often the cause if it says it is not optimised, what could be the case that actual image dimensions are bigger than the size it is displayed at on your website.
The purchase with credits works like this: if you add your credit card information, any number of image sizes compressed (one WordPress image may have for example 4 image sizes) above the 500 will be charged. The bulk optimization page will give an example of the costs if you compress your entire library. And you can add a notice from the API dashboard on tinypng.com if you are worried that you run into high chargers than expected.
Lots of questions and answers hope this helps!
Happy compressing!!