I understand the plugin doesn’t support localhost. I’m not looking to optimize image via localhost, i.e., sending images via API to shortpixel for compression.
Instead, I’m trying to test out the <picture> tag setting and functionality within ShortPixel that the plugin generates.
This shouldn’t require communicating with outside servers as it’s just checking to see if files exist on the hard disk and swapping out the image tag.
I’m manually creating WEBP and AVIF files in the uploads folder to see how it would perform on a localhost dev server.
Is there a way to enable at least this capability? Otherwise, I have to test it on a live or staging server.
If not, could you either 1) enable it within a future update or 2) put this function into a standalone plugin?