Apache mod_rewrite redirect file type to another domain
snippet in htaccess

Apache mod_rewrite redirect file type to another domain

user8247

RewriteEngine on
RewriteRule \.(gif|jpg|png)$ http://anotherdomain.com/%{REQUEST_URI} [NC,R=301,L]