• Hi guys!

    This plugin was exactly what I was looking for, however I just noticed you mentioned it doesn’t work on multisite. Will you be adding multisite support? Would love to run this on our network.

    In the mean time, could I activate it on individual child sites rather than network activating it?

    Also, would it work in conjunction with this plugin? https://www.ads-software.com/plugins/imsanity/ I’d like to be able to resize the originals if they’re over a certain size to save on server space.

    Thanks ??

    • This topic was modified 5 years, 8 months ago by menathor.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, my friend,

    I am so sorry to disappoint you but the plugin does not support Multisite at all. If something is actually supported in this respect it would be be sheer coincidence!

    As far as the Imsanity plugin is concerned, yes, there should be no conflict with these two plugins because they operate on a completely different level. Imsanity resizes your original images and afterwards, only when they are requested, Adaptive Images delivers them to the mobile devices resized according to screen size.

    Cheers,
    Takis

    Thread Starter menathor

    (@menathor)

    Hi Takis,

    Thanks for the quick reply. That’s a shame! Would adding custom nginx rewrites per child site be an option? Not sure how the plugin works exactly, but if it’s just rewriting image URLs and it does everything via normal WordPress hooks and functions, then activating it separately on each child site (instead of network activating it) might work. Just a thought…?

    Cheers

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, my friend,

    Thank you for your feedback and it is indeed a good thought. My honest answer is that I indeed don’t know ?? not until I do some relatively thorough testing. This is on my list, but, unfortunately I am not there yet.

    If that helps, I will try and explain a bit how the plugin works.

    Now, when a web page load the plugin serves a bit of Javascript that sets a cookie on the user browser containing the size of the user’s screen. Then this cookie travels back and forth on any HTTP communication the browser does with the server.

    When the browser requests an image by the server the plugin hijacks this requests and tries to deliver an as small as possible image to the browser. This decision is made by combining the plugin settings that the website admin has set and the device size.

    The issue with Multisite would be on the way this hijacking is done. In a normal WordPress installation there is one /wp-content/uploads folder, but on a Multisite there are multiple ones. And, should one try to overcome this, they should take into account the htaccess files rewrites that are necessary as well as the PHP code to which these rewrites ultimately point to.

    Cheers,
    Takis

    Thread Starter menathor

    (@menathor)

    Great, thanks Takis! I’ll experiment with it and let you know how it goes.

    Plugin Author Takis Bouyouris

    (@nevma)

    Please, do, and if we can reach at a quick solution, then I would be more than happy to incorporate it to the core of the plugin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using on multisite subsites?’ is closed to new replies.