<IfModule mod_rewrite.c>
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . ../core/image.inc.php?imginc=1 [L]
</IfModule>