• Resolved pluspol

    (@pluspol)


    Hello,
    At first thanks for the great plugin!

    We’re trying to use it on a multisite installation but have problems with the option “Automatically convert new images when uploading to Media Library”.

    On the root page it works but on other blogs it doesn’t.

    After looking through the code the culprit seems to be the path generation of the output file located in “src/Conversion/OutputPath.php:get_directory_path()”

    There an invalid path is composed which leads to the resulting optimized images stored in paths like “wp-content/uploads/wp-content/uploads-webpc/srv/www/my-website.com/htdocs/public/wp-content/uploads/sites/8/2023/01/image.jpg.webp”

    However using the batch conversion functionality works.

    Is this a bug or are we missing something?

    Best

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @pluspol,

    Thank you for your message. I am sorry you have encountered a problem with our plugin. Do not worry, I will try to help you.

    I want to see what might have gone wrong. Could you send me a screenshot of the Help Center tab in the plugin’s settings. I will check it because in this tab I have an information on how to solve the problem.

    Best, Mateusz

    Thread Starter pluspol

    (@pluspol)

    Hi Mateusz,

    Thank’s for your reply. I’ve sent you the page via email to [email protected]. I hope that’s ok.

    Best

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doesn’t seem to work on Multisites’ is closed to new replies.