Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter aurodo

    (@aurodo)

    Hi,

    Were You talking about one of the images mentioned above?

    Thread Starter aurodo

    (@aurodo)

    Do you mean: image inside: “/opt/bitnami/apps/wordpress/htdocs/wp-content/cache/adaptive-images” ?

    1. If you mean the above location, then this folder “adaptive-images” is empty.

    2. For the images in upload folder: Please find path to one of the image:
    “/opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/2017/01/Gallery_Cat.png”

    • This reply was modified 9 years, 2 months ago by aurodo.
    Thread Starter aurodo

    (@aurodo)

    HI,

    In Bitnami WordPress the main .htaccess file is “/opt/bitnami/apps/wordpress/conf/htaccess.conf” and the other is “/opt/bitnami/apps/wordpress/htdocs/.htaccess”

    We added the code in both, but no success.

    Following is the content:
    1. In : “/opt/bitnami/apps/wordpress/htdocs/.htaccess”

    # BEGIN Adaptive Images
    #=======================

    <IfModule mod_rewrite.c>

    RewriteEngine On

    # Watched directories
    RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
    RewriteCond %{REQUEST_URI} /wp-content/themes

    # 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

    &

    2. In : “/opt/bitnami/apps/wordpress/conf/htaccess.conf”

    <Directory “/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/adaptive-images”>
    # BEGIN Adaptive Images
    #=======================

    <IfModule mod_rewrite.c>

    RewriteEngine On

    # Watched directories
    RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
    RewriteCond %{REQUEST_URI} /wp-content/themes

    # 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
    </Directory>

    Thread Starter aurodo

    (@aurodo)

    Hi,

    Please find Log for Debug Info:

    Debug info
    ✔ PHP GD library is installed.
    ✔ Image cache directory has been created.
    /opt/bitnami/apps/wordpress/htdocs/wp-content/cache/adaptive-images => drwxrwxr-x
    ✔ Installation .htaccess file is setup OK.
    /opt/bitnami/apps/wordpress/htdocs/.htaccess => -rwxrwxrwx
    ❖ 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(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.61”
    [“sanitized”]=>
    bool(true)
    }

    Log for Print Diagnostics:

    System information
    Web Server
    Apache
    Document Root
    /opt/bitnami/apps/wordpress/htdocs
    PHP
    7.0.13
    PHP Time Limit
    120
    PHP Memory Limit
    256M
    PHP Post Max Size
    40M
    PHP Upload Max Size
    40M
    PHP Max Input Vars
    1000
    PHP Display Errors
    No
    PHP Error Log
    MySQL
    5.7.16
    MySQL Ext/mysqli
    Yes
    MySQL Table Prefix
    wp_
    MySQL DB Charset
    utf8
    WP
    4.7.3
    WP Multisite
    No
    WP Debug Mode
    No
    WP Site url
    https://www.aurodo.com
    WP WP Home url
    https://www.aurodo.com
    WP Permalinks
    /%year%/%monthnum%/%day%/%postname%/
    WP home path
    /opt/bitnami/apps/wordpress/htdocs/
    WP content dir
    /opt/bitnami/apps/wordpress/htdocs/wp-content
    WP plugin dir
    /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins
    WP content url
    https://www.aurodo.com/wp-content
    WP plugin url
    https://www.aurodo.com/wp-content/plugins
    WP Locale
    en_US
    WP Memory Limit
    40M
    WP Max Upload Size
    40mb
    WP Active plugins
    Adaptive Images for WordPress v.0.6.61 by Nevma
    Contact Form 7 v.4.7 by Takayuki Miyoshi
    CWS Demo Importer v.2.0.0 by
    CWS Builder v.2.0.3 by
    CWS Portfolio-Staff v.1.0.0 by
    Insert Headers and Footers v.1.4.1 by WPBeginner
    oAuth Twitter Feed for Developers v.2.3.0 by Liam Gladdy (Storm Consultancy)
    Really Simple SSL v.2.5.11 by Rogier Lankhorst
    Slider Revolution v.5.3.1.5 by ThemePunch
    Timetable Responsive Schedule For WordPress v.3.6 by QuanticaLabs
    UpdraftPlus – Backup/Restore v.1.12.35 by UpdraftPlus.Com, DavidAnderson
    W3 Total Cache v.0.9.5.2 by Frederick Townes
    Yoast SEO v.4.4 by Team Yoast
    Flexible Map v.1.12.1 by WebAware
    WP Force SSL v.1.3 by Kostas Vrouvas
    WP Smush v.2.6.1 by WPMU DEV
    WP MU plugins

    Thread Starter aurodo

    (@aurodo)

    Hi,

    You are right, we had missed updating the NameServer in our DomainDNS, which were pointing to CloudFlare. We have updated the nameserver now. So, no cloudflare being used now. Also, we are using Apache.

    We also create the adaptive-image folder manually in cache folder. (Reason: we are using Amazon server so they did not allow us to create folder automatically).

    Now can you brief how to move forward.

    • This reply was modified 9 years, 2 months ago by aurodo.
    • This reply was modified 9 years, 2 months ago by aurodo.
    Thread Starter aurodo

    (@aurodo)

    Hi Takis,

    After understanding more about CDN, we realized that CDN is not required currently so we removed our CDN and also followed all the steps. We also created adaptive-images folder manually. But we were not able to get optimized images in “cache/adaptive-images”

    Website: https://www.aurodo.com

    Are we missing something?

    Thread Starter aurodo

    (@aurodo)

    Thanks for reply Takis.

    After more research, we have decided to not use CDN currently for our website.

    We will try to integrate the Adaptive Images Plugin then and would share our experience.

    Thanks for the information you shared with us.

    Thread Starter aurodo

    (@aurodo)

    Hi,

    We respect to thoughts you mentioned. We are using MaxCDN as a setup where the CDN functions like a caching server (or servers) in front of one’s website.

    The problem We saw was that still no images are being created and saved in folder: “/cache/adaptive-images” So, we wanted to understand whether we are missing anything which is leading to non-saving of optimised images in the adaptive-images folder.

    You must be having some users who are using your plugin and MaxCDn together 🙂

    Thread Starter aurodo

    (@aurodo)

    Thanks for writing.

    We are using MaxCDN to help deliver images fast. Does the Adaptive Images plugin work with MaxCDN?

    If no, do we have any alternative solution so that we can both optimize and deliver the images?

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