Deny from all

<Files ~ '(?i:.jpg|.jpeg|.png|.gif)$'>
Allow from all
</Files>