Preventing display of image via direct link to image Preventing display of image via direct link to image
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Preventing display of image via direct link to image

Started by realdeal, May 20, 2007, 04:36:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

realdeal

I have all of my albums set private with a password.  I have my robots.txt file to disallow the GALLERY folder from being searched.  But the one thing that I noticed is that if someone posts a direct link to the image file in a public place, the image is displayed.  Is there anyway to prevent this?

Thanks


Joachim Müller

No, not really. You can enable hotlink protection using .htaccess methods to avoid your images turning up in google's search results.

realdeal

Could you please help me?  I don't know what needs to be in the.htaccess file... ?

Joachim Müller