• maelstrom06

    (@maelstrom06)


    Hello, I have a multisite WordPress installation with subdomains. The plugin only saves cuts on the main domain, but does not work on any other pages with subdomains.
    When you click save changes, the image remains the same.
    I have tried on 2 different servers and the result is the same, it only works on the main domain.
    Any idea what it could be and how to fix it?
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    I running an multisite on my own and can confirm that its working.

    If you are in the crop dialog, did the image on the left change after you perform the crop? If so, then it worked correctly (as the plugin reload the image directly from the server). You should hard refresh the frontend page in the browser to see the change (STRG + F5 on Windows).

    Thread Starter maelstrom06

    (@maelstrom06)

    I have tried it on a third server and it works fine. But I don’t know what might be different about the other 2 servers where it doesn’t save the changes.

    These 2 servers use Cloudflare, any idea if it could be affecting?

    Thread Starter maelstrom06

    (@maelstrom06)

    I still can’t find what the problem is.
    The plugin does not return any errors.
    The modified thumbnail is edited in the ftp (I have verified that the modification time is updated), but the cut remains the same, it does not really update the image.
    It only works on the main page of my multisite, none of the other pages belonging to the same WordPress do anything.
    Any ideas?

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Hi @maelstrom06,
    sorry – i did see the message from 2 weeks ago just now.

    If you use cloudflare – then that might be the reason. I im not super into the technologie of cloudflare, but they provide some of there services by caching – dont they?

    So the problem might be that they cached the old version of the image. And did not recognize the change. A quick search how to purge the cache showed me the following url: https://developers.cloudflare.com/cache/how-to/purge-cache

    You may also have a look at?https://github.com/vollyimnetz/crop-thumbnails/blob/master/functions/extend/WebPExpressExtension.php
    This is the sample implementation to make the WebPExpress-Plugin renew his webp image after a crop has been done. You may use this to create your own code to purge the cache of a cropped image. Any programmer that have a little understanding in wordpress should be able to do this. You may put your implementation in the code of your own theme or anywhere where it is not override by the next update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not saving crops on subdomains in multisite’ is closed to new replies.