• I am using the Shortpixel image optimizer plugin to generate webp copies of the images.

    When the webp copies are moved to the server the name changes: image.webp on the server becomes image.png.webp on the cloud.

    Is the double extension intentional or is it a mistake?

    Also on the cloud I have both /2021/02/image.png and /image.png in the root of the bucket. The images have different sizes!

    I think that the original images end up in the root (before the optimization of the Shortpixel plugin) while the optimized images are loaded in the folder /%date_year/ datemonth%/

    The behavior I expect would be:
    – no images in the root of the bucket
    – optimized images in the folder with the original name (* .webp not * .jpg.webp).

    This duplication of images is a real problem for me. See this: https://ibb.co/GQv38ww

    I have already contacted Shortpixel support, they told me to use WP Offload Media instead of WP Stateless. I tried that too but it works even worse.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lucamc

    (@lucamc)

    Is this plugin discontinued?

    Plugin Author Eric Sopp

    (@ideric)

    The plugin is not discontinued, but we don’t have the bandwidth to troubleshoot your issue right now.

    Thread Starter lucamc

    (@lucamc)

    ok

    In the meantime I have patched up the “sync_backup_file” function which is on line 266 of the “shortpixel.php” file.

    I guess that function was meant to sync Shortpixel’s backup folder. Unfortunately it does not work correctly: the directory structure is not maintained (everything ends up in the root of the bucket) and the files are not even deleted when they are deleted in wordpress.

    If you manage to disable that feature in the meantime that “you don’t have the bandwidth to troubleshoot” I would settle for it. This way I could automatically update the plugin without manually disabling the function every time.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Webp and Shortpixel plugin’ is closed to new replies.