• Resolved deLuXe83

    (@deluxe83)


    Hi Takis,

    sorry for bothering you, but I recently installed your Plugin on my new site (http://neu.metallbau-kunkel.de ).
    But a Problem occurred, so that the images I want to automatically been resized, are not shown when the are redirected via the htaccess file.

    This is strange, because when i change the htacess line

    RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php [L]

    to for example

    RewriteRule \.(?:jpe?g|gif|png)$ /any/test/image.jpg [L]

    the „any test image“ is shown for every image….

    So… Adaptive Images is installed on the following page: http://neu.metallbau-kunkel.de/zaeune/ above the existing gallery.

    For example
    http://neu.metallbau-kunkel.de/wp-content/uploads/galerie/zaeune/IMG_1815.jpg?debug=true
    says that the original image does not exist?!?!

    Debug info

    ✔ PHP GD library is installed.
    
    ✔ Image cache directory has been created.
    
    /mnt/web3/c1/63/53570263/htdocs/WordPress_01/wp-content/galerie-cache => drwxrwxrwx
    
    ✔ Installation .htaccess file is setup OK.
    
    /mnt/web3/c1/63/53570263/htdocs/WordPress_01/.htaccess => -rw-r-----
    
    ❖ Adaptive images settings dump:
    
    array(12) {
      ["resolutions"]=>
      array(5) {
        [0]=>
        int(1920)
        [1]=>
        int(1382)
        [2]=>
        int(992)
        [3]=>
        int(768)
        [4]=>
        int(480)
      }
      ["cdn-support"]=>
      bool(true)
      ["cache-directory"]=>
      string(13) "galerie-cache"
      ["watched-directories"]=>
      array(1) {
        [0]=>
        string(33) "wp-content/uploads/galerie/zaeune"
      }
      ["jpeg-quality"]=>
      int(75)
      ["sharpen-images"]=>
      bool(true)
      ["watch-cache"]=>
      bool(true)
      ["browser-cache"]=>
      float(180)
      ["landscape"]=>
      bool(false)
      ["hidpi"]=>
      bool(false)
      ["version"]=>
      string(5) "0.6.3"
      ["sanitized"]=>
      bool(true)
    }

    System information

    Web Server
    Apache/2.2.31 (Unix)
    PHP
    5.3.29
    PHP Time Limit
    0
    PHP Memory Limit
    256M
    PHP Post Max Size
    48M
    PHP Upload Max Size
    32M
    PHP Max Input Vars
    4000
    PHP Display Errors
    PHP Error Log
    MySQL
    5.5.45-log
    MySQL Ext/mysqli
    No
    MySQL Table Prefix
    wp_
    MySQL DB Charset
    utf8
    WordPress
    4.3.1
    WP Multisite
    No
    WP Debug Mode
    No
    WP Site url
    http://neu.metallbau-kunkel.de
    WP WP Home url
    http://neu.metallbau-kunkel.de
    WP Permalinks
    /%postname%/
    WP content dir
    /mnt/web3/c1/63/53570263/htdocs/WordPress_01/wp-content
    WP content url
    http://neu.metallbau-kunkel.de/wp-content
    WP plugin dir
    /mnt/web3/c1/63/53570263/htdocs/WordPress_01/wp-content/plugins
    WP plugin url
    http://neu.metallbau-kunkel.de/wp-content/plugins
    WP Locale
    de_DE
    WP Memory Limit
    40M
    WP Max Upload Size
    32mb
    WP Active plugins
    LayerSlider WP v.5.4.0 by Kreatura Media
    Adaptive Images for WordPress v.0.6.3 by Nevma
    Contact Form 7 v.4.3 by Takayuki Miyoshi
    Envato WordPress Toolkit v.1.7.2 by Envato
    Folder Gallery v.1.7.2 by Vincent Jalby
    WPBakery Visual Composer v.4.5.1 by Michael M - WPBakery.com
    WordPress Importer v.0.6.1 by wordpressdotorg
    WP Lightbox 2 v.3.0.5 by Syed Balkhi
    WP Wartungsmodus v.2.0.3 by Designmodo
    WR MegaMenu v.1.1.3 by WooRockets

    sorry again, and thanks for your help!

    Cheers

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

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

    (@nevma)

    Hello, my friend,

    You are not bothering at all, I am happy to help! 🙂

    First of all, I noticed that you have the CDN support option enabled although you are not using a CDN. I would suggest to keep it off!

    A quick question: Did you set the “wp-content/uploads/galerie/zaeune” as the only watched directory in the plugin settings because you do not want it to handle your other images? You could just as well let it handle the whole “wp-content/uploads” directory.

    Now, I am trying to reproduce the problem, but I cannot get it to happen in my test environments! 🙁 Could I send you a couple of files with some fixes to the plugin so you can test them in your installation? Perhaps you have spotted a bug!

    Cheers,
    Takis

    Plugin Author Takis Bouyouris

    (@nevma)

    Also, can you confirm that the image:

    /wp-content/uploads/galerie/zaeune/IMG_1815.jpg

    actually exists and it is in the real path:

    /mnt/web3/c1/63/53570263/htdocs/WordPress_01/wp-content/uploads/galerie/zaeune/IMG_1815.jpg

    Plugin Author Takis Bouyouris

    (@nevma)

    I have prepared a test version of two of the plugin files, which I would like you to replace with the original ones, if you can:

    1. http://pastebin.com/AMzTKh7R
    2. http://pastebin.com/VbCYFnZb

    (Use the download button to get each file independently.)

    Thread Starter deLuXe83

    (@deluxe83)

    Good morning Takis!!

    Thank you very much!!
    With the new files the plugin is working very well!!

    Could you explain what the bug was? 🙂

    Cya

    Plugin Author Takis Bouyouris

    (@nevma)

    Well, you helped me find a bug!

    It seems that the Apache document root path, as it is reported bu PHP, was not exactly as the plugin expected. So the plugin was falsely lead to believe that some images were not available.

    Now that the problem is solved, I will pack the fix in a new version and upload it to the repository. Please do let me know if the official update works alright for you when it is released.

    Cheers,
    Takis

    Thread Starter deLuXe83

    (@deluxe83)

    Thanks!!

    Plugin Author Takis Bouyouris

    (@nevma)

    You are welcome!

    🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Images not resizing’ is closed to new replies.