Forum Moderators: phranque
The thumbnails do get rewritten but when clicking on them I can see the original large images as opposed to the new files.
Does anyone know if this is an unsurmountable problem? Thank you.
Access control based on the HTTP Referrer header is unreliable at best, as this case demonstrates. If you need better access control, then use a cookies-based authorization scheme; Set a cookie on your page that should be visited before displaying the images, then check the cookie --either in a script or in .htaccess-- and take action based on its presence and validity.
There are other solutions as well -- rotating the image directory/file names, for example. None are as simple as blocking or serving alternate images based on HTTP Referrer, but most of them work better.
Jim