deny from all

<Files ~ "\.gif$|\.jpg$">
Order deny,allow
allow from All
</Files>