From adaptive-images.php this is the only variable I modified.
$resolutions = array(1281, 1088, 1040, 1024, 1023, 1000, 945, 883, 842, 768, 616, 480, 364); // the resolution break-points to use (screen widths, in pixels)
In the .htaccess file
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
# Adaptive-Images -----------------------------------------------------------------------------------
# Add any directories you wish to omit from the Adaptive-Images process on a new line, as follows:
# RewriteCond %{REQUEST_URI} !and-ignore-this-directory-too
RewriteCond %{REQUEST_URI} !folder1
RewriteCond %{REQUEST_URI} !folder2
RewriteCond %{REQUEST_URI} !folder3
# don't apply the AI behaviour to images inside AI's cache folder:
RewriteCond %{REQUEST_URI} !ai-cache
# Send any GIF, JPG, or PNG request that IS NOT stored inside one of the above directories
# to adaptive-images.php so we can select appropriately sized versions
RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php
# END Adaptive-Images -------------------------------------------------------------------------------
</IfModule>
Todd
Office (Chicago): 312.212.3955
https://qreativ.space
On Jul 21, 2016, at 2:23 PM, billy kimmel email@hidden wrote:
Hey all,
Wondering if anyone has used adaptiveimages.php on a website. I’ve given it a try but not really sure its working.
Anyone have an example of the .htaccess file and the adaptiveimages.php file used and any editing to those files that they can share?
http://smartypantsgraphicdesign.com
freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options