fixed dynamic htaccess redirect for images