• Resolved Fraz26

    (@fraz26)


    I am a beginner of WordPress and my site’s images are not looking appropriate on mobile devices especially the devices with 480 width (smartphone). I have installed adaptive images plugin saved the settings but still images are not resizing on mobile devices. Please check my website page I shared in the above field.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 16 through 24 (of 24 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, @viveadmin,

    I tried to check the urls you sent us but it seems that the plugin is not active at the moment. Could you please activate it and let me know so that I can check it again?

    Usually, if the plugin works for some urls then it should work for all of them, but we will figure it out in the end.

    Cheers,
    Takis

    Hello. Thank you for your reply!
    Yes you are right. The plugin was turned off, as I tested other solutions.
    My problem is that the WordPress core adds srcset only to images that have a wp-image-{ID_image} class. I ignored this many times when I added images using the HTML editor.
    Here the first image is adaptive, and the rest is not.
    Now I see that the plugin does not work with any images.

    I activated the plugin now. Please check the site now.
    P.S. Sorry for the terrible English.
    Sincerely, viveadmin

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, again,

    I see that the plugin is now active in the frontend but actually none of your images is being resized!

    One thing you need to know is that the srcset attribute, which WordPress uses on some images, does a different thing than the Adaptive Images plugin. I know these techniques seem a little similar at first, but they are totally different.

    So, what we need to do now is to find out why the plugin is now working as expected in your installation. First of all, I see that your images are being delivered with the Nginx header. Are you using Nginx as your main application server os as a caching server? This is an important question that we must answer. If you do not now what it means, then could you please forward it to your server administrator?

    Cheers,
    Takis

    Hello, Takis!
    I found out the necessary information:
    The main web server is Apache. Nginx is used as a caching reversre-proxy server.

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, @viveadmin,

    Thank you for the feedback!

    Now we need to take things one step at a time. The first thing I would like you to check with your server admin is that they allow url GET parameters on image requests. For instance in the url https://vive.com.ua/wp-content/uploads/2018/07/dekorativnye-listvennye-kustarniki-1-768x435.jpg?debug=true it is the last bit ?debug=true.

    Right now it seems that url GET parameters are now conveyed from your Nginx caching reverse proxy server back to your Apache origin server.

    Do you think you can ask this from them? It is kind of necessary for the plugin to work properly and it is quite common to be honest! Then I will need to make another check to your website and see if things are working properly or if we need to make any further settings.

    Cheers,
    Takis

    Hello.

    They removed the .jpg extension from Nginx processing. You can check the specified link before clearing the browser cache.
    Important: I just installed the All In One WP Security plugin.
    Thank you.

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, @viveadmin,

    I just checked your website again and now the images seem to be resized correctly. For instance https://prntscr.com/kgczbl/.

    Also, I would recommend that you enabled the CDN support option in the plugin settings page, because Nginx as a caching/reverse-proxy server is actually acting like a CDN.

    As far as CDNs are concerned, our plugin still has experimental support, because they really are an exceptional case! Nothing to worry about here, though, nothing should break. There is just a tiny possibility that some images might be delivered in their original dimensions, instead of being resized.

    Let me know how it goes and if you need any more help!

    Cheers,
    Takis

    Hello Takis, the plugin really works now. Images are cached on the server. Thank you for your support!

    Plugin Author Takis Bouyouris

    (@nevma)

    Great news! Happy to help… ??

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Plugin Not Working’ is closed to new replies.