<FilesMatch ".(jpg|png|gif)$">
ErrorDocument 404 "1px.gif"
</FilesMatch>