Hi,

I want to use a kind of adaptive image styles for my responsive design.

The module instructions are to patch the .htaccess file with the following rule.

# AIS: Adaptive Image Style
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.+)/files/styles/adaptive/(.+)$
RewriteCond %{REQUEST_URI} !/modules/image/sample.png
RewriteCond %{HTTP_COOKIE} ais=([a-z0-9-_]+)
RewriteRule ^(.+)/files/styles/adaptive/(.+)$ $1/files/styles/%1/$2 [R=302,L]

Since this is only for Apache, can you tell me if there is an equivalent to this for Nginx / Aegir?

Or else do you have a tip for using adaptive images in my content?

Thanks in advance!

see also http://drupal.org/project/ais

Comments

omega8cc’s picture

Fonkel’s picture

You guys rock!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.