• Resolved Ilya

    (@ilydem)


    Hi there,

    I have installed your winderful plugin however it’s not working to full extent.

    I can see that my images remain of the same size. Here is a test link – http://www.demin.ru/wp-content/uploads/2015/10/20151002212650.jpg?resolution=30,30

    At the same time, I am quite confident that the plugin accepts incoming image requests as per rules in htaccess, as I am able to print debug info for NON-existing files like http://www.demin.ru/wp-content/uploads/2015/10/20151002212650-NONEXIST.jpg?debug=true

    compare it with the link to a really existing file – http://www.demin.ru/wp-content/uploads/2015/10/20151002212650.jpg?debug=true

    My settings are the following:
    PHP GD library is installed.

    ✔ Image cache directory has been created.

    /var/www/zn4067/data/www/demin.ru/wp-content/cache/adaptive-images => drwxr-xr-x

    ✔ Installation .htaccess file is setup OK.

    /var/www/zn4067/data/www/demin.ru/.htaccess => -rw-r–r–

    ❖ Adaptive images settings dump:

    array(12) {
      ["resolutions"]=>
      array(3) {
        [0]=>
        int(1024)
        [1]=>
        int(640)
        [2]=>
        int(480)
      }
      ["cache-directory"]=>
      string(21) "cache/adaptive-images"
      ["watched-directories"]=>
      array(2) {
        [0]=>
        string(18) "wp-content/uploads"
        [1]=>
        string(17) "wp-content/themes"
      }
      ["jpeg-quality"]=>
      int(70)
      ["sharpen-images"]=>
      bool(true)
      ["watch-cache"]=>
      bool(true)
      ["browser-cache"]=>
      float(180)
      ["landscape"]=>
      bool(false)
      ["hidpi"]=>
      bool(false)
      ["cdn-support"]=>
      bool(false)
      ["version"]=>
      string(6) "0.6.41"
      ["sanitized"]=>
      bool(true)
    }
    
    Web Server
    Apache/2.2.27 (CentOS)
    Document Root
    /var/www/zn4067/data/www/demin.ru
    PHP
    5.4.45
    PHP Time Limit
    180
    PHP Memory Limit
    256M
    PHP Post Max Size
    200M
    PHP Upload Max Size
    200M
    PHP Max Input Vars
    10000
    PHP Display Errors
    Yes
    PHP Error Log
    MySQL
    5.5.46-log
    MySQL Ext/mysqli
    No
    MySQL Table Prefix
    te6d_
    MySQL DB Charset
    utf8
    WP
    4.3.1
    WP Multisite
    No
    WP Debug Mode
    No
    WP Site url
    http://www.demin.ru
    WP WP Home url
    http://www.demin.ru
    WP Permalinks
    /%postname%/
    WP home path
    /var/www/zn4067/data/www/demin.ru/
    WP content dir
    /var/www/zn4067/data/www/demin.ru/wp-content
    WP plugin dir
    /var/www/zn4067/data/www/demin.ru/wp-content/plugins
    WP content url
    http://www.demin.ru/wp-content
    WP plugin url
    http://www.demin.ru/wp-content/plugins
    WP Locale
    ru_RU
    WP Memory Limit
    40M
    WP Max Upload Size
    200mb
    WP Active plugins
    Adaptive Images for WordPress v.0.6.41 by Nevma
    bbPress v.2.5.8 by Сообщество bbPress
    BuddyPress v.2.3.4 by Сообщество BuddyPress
    Force Regenerate Thumbnails v.2.0.5 by Pedro Elsner
    Imsanity v.2.3.5 by Jason Hinkle
    Ограничение попыток авторизации v.1.7.1 by Johan Eenfeldt
    MailChimp for WordPress Lite v.2.3.17 by ibericode
    Restrict User Access v.0.4 by Joachim Jensen, Intox Studio
    Simple Lightbox v.2.5.2 by Archetyped
    WP-Mail-SMTP v.0.9.5 by Callum Macdonald
    WP MU plugins

    =========
    Would you please help!

    https://ww.wp.xz.cn/plugins/adaptive-images/

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, Ilya,

    It seems that the “Content types” setting is missing or that no image content types are set. Is this correct? Did this happen by accident?

    You need to select at least one image content type for the plugin to work properly. Let me know how it goes!

    Cheers,
    Takis

    Thread Starter Ilya

    (@ilydem)

    Hi Takis,

    where can I find that setting? Is it within the plugin’s one?

    Regards,
    Ilya

    Plugin Author Takis Bouyouris

    (@nevma)

    Hi, Ilya,

    I am so sorry, the setting I mentioned above refers to a version of the plugin that is not published yet. My mistake there!

    Now I am lead to believe that there is something extraordinary with your setup. Is there anything too unusual about your Apache htaccess file? Is your website behind a CDN or Varnish or Nginx server?

    Cheers,
    Takis

    Thread Starter Ilya

    (@ilydem)

    Hi Takis,

    it’s behind a nginx server of my hoster. The overall configuration is quite standard, even my pricing plan is called “WordPress Basics”. I think there could be an error in your plugin occuring at some point of the algorithm. Is it possible to set the error information into a cookie like you do for non-existing images?

    I noticed that you plugin set a cookie named as “resolution” – http://www.bertal.ru/index.php?a2218525/www.demin.ru/wp-content/uploads/2015/10/20151002212650-NONEXIST.jpg#h

    Cheers,
    Ilya

    Plugin Author Takis Bouyouris

    (@nevma)

    Hi, Ilya,

    If your WordPress installation is behind an Nginx then this is -technically- similar to having a CDN or a Varnish. Provided your main application server is still an Apache, you may try to enable the CDN support option in the plugin settings. However, this option is a little experimental. It does not break anything but it sometimes misses some images and lets their original dimensions download to a device.

    Cheers,
    Takis

    Thread Starter Ilya

    (@ilydem)

    The CDN option won’t help.

    I tried to use this plugin on another server which runs LiteSpeed server, but no luck.

    Plugin Author Takis Bouyouris

    (@nevma)

    Well, the CDN option is designed for these cases. The problem is that it is not “complete” yet, unfortunately. Why are saying that it won’t help, though?

    As for the LiteSpeed server this is a while different case. We cannot support it officially. It claims that it is Apache compatible, at least as far as htaccess files are concerned (https://www.litespeedtech.com/products/litespeed-web-server/overview), but we do not have the resources to debug it there.

    So sorry about that! 🙁

    Thread Starter Ilya

    (@ilydem)

    Hi could you please remove this topic as it contains sensitive information about my website configuration? It was recently hacked maybe because of that.

    Plugin Author Takis Bouyouris

    (@nevma)

    Hi Ilya, I am so sorry to hear this! Unfortunately this is ww.wp.xz.cn forum and we do not have access to deleting these topics. Perhaps there is a way to contact the administrators for such an issue. However the only really sensitive information shared here was the path the image cache, which is a bit difficult to result in a security breach.

    Thread Starter Ilya

    (@ilydem)

    OK, how can I contact the administrators?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What information is sensitive?

    Thread Starter Ilya

    (@ilydem)

    File/folder permissions, user name within hosting platform, names and versions of plugins installed, OS version, PHP version, exact domain name. If you could at least mask these ones, I will appreciate it.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m sorry I don’t think that’s sensitive.

    Plugin Author Takis Bouyouris

    (@nevma)

    Thank you for watching out for us @andrew!

    @ilya, honestly this information might sound a bit sensitive, but in effect it really isn’t. It is highly unlikely that a hacker took advantage of it in order to attack and compromise your website. I guess you could say they are kinda “private”, but not sensitive security-wise.

    Thread Starter Ilya

    (@ilydem)

    I disagree as my first post reveals my username within my hosting platform and that implies additional security risks, e.g. brute force attacks to my ftp/cpanel accounts as the username is already known to the potential attacker.

    http://codex.ww.wp.xz.cn/Forum_Welcome#Deleting_.2F_Editing_Posts

Viewing 15 replies - 1 through 15 (of 22 total)

The topic ‘Image sizes not changing’ is closed to new replies.