• Resolved Tobmoc

    (@tobmoc)


    Dear Supporter,

    i installed the plugin on our webside https://www.duo-optik-akustik.de and i have an interessting effect. The images of the sliders works fine, the rest of the images dont.

    In the source the right path was delivert, but noch cache file was written/delivert.

    Exaple: https://www.duo-optik-akustik.de/optik/sun-project/

    There is one Image, the source says:
    <img class="alignleft size-full wp-image-1458" src="https://www.duo-optik-akustik.de/wp-content/uploads//2012/03/Modell-Bild-Sonnenbrille.jpg" alt="Modell-Bild-Sonnenbrille" width="540" height="325" srcset="https://www.duo-optik-akustik.de/wp-content/uploads/2012/03/Modell-Bild-Sonnenbrille-300x181.jpg 300w, https://www.duo-optik-akustik.de/wp-content/uploads/2012/03/Modell-Bild-Sonnenbrille.jpg 540w" sizes="(max-width: 540px) 100vw, 540px" scale="0">

    The Debug modus says:

    Debug info
    
    ? PHP GD library is installed.
    
    ? Image cache directory has been created.
    
        /home/h1203hcp/www.duo-optik-akustik.de/wp-content/cache/adaptive-images => drwxr-xr-x
    
    ? Installation .htaccess file is setup OK.
    
        /home/h1203hcp/www.duo-optik-akustik.de/.htaccess => -rw-r--r--
    
    ? Adaptive images settings dump:
    
        array(12) {
          ["resolutions"]=>
          array(6) {
            [0]=>
            int(2048)
            [1]=>
            int(1440)
            [2]=>
            int(1200)
            [3]=>
            int(1024)
            [4]=>
            int(640)
            [5]=>
            int(480)
          }
          ["cache-directory"]=>
          string(21) "cache/adaptive-images"
          ["watched-directories"]=>
          array(1) {
            [0]=>
            string(18) "wp-content/uploads"
          }
          ["jpeg-quality"]=>
          int(75)
          ["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.42"
          ["sanitized"]=>
          bool(true)
        }

    But i take a look in the htaccess and these lines was missing:

    # BEGIN Adaptive Images
    #=======================
    
    <IfModule mod_rewrite.c>
    
        RewriteEngine On
    
        # Watched directories
        RewriteCond %{REQUEST_URI} /wp-content/uploads
    
        # Redirect images through the adaptive images script
        RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php [L]
    
    </IfModule>
    
    # END Adaptive Images

    I add them manually to the htaccess. but nothing change.

    Have anyone idears about that? Im out of idears.

    Best regrads
    Michael

    https://www.ads-software.com/plugins/adaptive-images/

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

    (@nevma)

    Hello, Michael,

    Thank you for using our plugin and reaching out to us.

    From a quick look in your website the plugin seems to be working fine. Check these links https://www.duo-optik-akustik.de/wp-content/uploads/2012/03/Modell-Bild-Sonnenbrille.jpg?debug=true and https://www.duo-optik-akustik.de/wp-content/uploads/2012/03/Modell-Bild-Sonnenbrille.jpg?debug=original. Of course this image is quite small itself, 540px, so it is only resized at your smallest breakpoint, 480px, and above that the original image is used.

    So, are you saying that you had to add the lines to the htaccess file manually? Was there an error message before this, that informed of the situation? Or perhaps an error each time you saved your settings?

    Cheers,
    Takis

    Thread Starter Tobmoc

    (@tobmoc)

    Dear Takis,

    i found the error maker ??

    1. The picture was not resized = The path to the picture was wrong! wp-uploads//2016/01/blabla.jpg. I installed an path changer “WP Original Media Path” to change the upload path. In the future i want to deliver the pictures over an subdomain. And in this plugin i made an misconfig. i put a “/” at the end of path. and of this, the plugin sets the // in the path. Now it runs perfect!!

    2. The htaccess error it dont now. the plugin says everythink is okay, but it dont change the htaccess. i dont know why he do that. but after i put the lines manually he shows the same. i think that the first error makes the plugin runs mad.

    i m very satisfied about the plug in … and about your very fast support. and i m very “argh” about me, i dont see the // in the path.

    Best regrads
    Michael

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, Michael,

    I am so glad it worked out! Let me know if there is anything else you need. ??

    Cheers,
    Takis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Layslider/Revslider pictures runs, the rest not.’ is closed to new replies.