To get this mod work with
Direct Resize 0.9 Friendly URLs
You must add an exception to regexp like this:
###<br /># First be sure to rewrite the request to a unique domain<br />RewriteCond %{HTTP_HOST} .<br />RewriteCond %{HTTP_HOST} ^en\.test [NC]<br />RewriteCond %{HTTP_HOST} !^www\.en\.test [NC]<br />RewriteRule (.*) http://www.en.test/$1 [R=301,L]<br /><br /># rewrite the homepage of each domain to index.html<br />RewriteRule ^rubin-en\.html$ /index.html<br /><br /># do the other magic: Rewrite the the requests to for MODx readable folders<br />RewriteCond %{HTTP_HOST} en\.test [NC]<br />RewriteCond %{REQUEST_URI} !^/manager<br />[b]RewriteCond %{REQUEST_URI} !^/images[/b]<br />RewriteCond %{REQUEST_FILENAME} index\.php [OR]<br />RewriteCond %{REQUEST_FILENAME} !-f<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteRule ^(index\.(html?|php)|rubin-en)?(.*)$ index.php?q=/rubin-en/$3 [L,QSA]<br />
So, just add this bold line, or even more strict line (I’ve got it from DR .htaccess)
RewriteCond %{REQUEST_URI} !^[b][color=red]/[/color][/b]images/([a-z0-9]{32})/.*\.(png|gif|jpe{0,1}g)$
Please pay attention to red slash.