ysaroka/autothumb-demo/master/.htaccess
RewriteEngine on
RewriteBase /
# If thumbnail file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
# Otherwise forward it to autothumb.process.php and create thumbnail
RewriteRule (.*)-autothumb-([wd]+).([wd]+)$ autothumb.process.php?image=$1.$3&type=$2
Files
