Htaccess File

nickolanack/mod-rewrite-asset-tint/master/asset-tint/.htaccess

QUERY_STRING
#Redirect all image queries with url variable 'tint' to be processed by image.php
RewriteEngine on
RewriteCond %{QUERY_STRING} tint=(.*)
RewriteRule ^(.+).(png|jpg|jpeg|gif)$ asset.php?file=$1.$2&tint=%1
Exit mobile version