RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://localhost:8888      [NC]
RewriteCond %{HTTP_REFERER} !^http://example\.com/?.*$   [NC]
RewriteCond %{HTTP_REFERER} !^http://bogojoker\.com/?.*$ [NC]
RewriteRule \.(gif|jpe?g|png|bmp)$ - [F,NC]
