the way vbgallery stores the images there is not really a way around, as the browser when calling the image directly does not send a refferer..
The only "trick" I can think of is to use a
non permanent watermark.. without the watermark, to save ressources.
Do this: in gallery_global.php add:
$ppg_options['gallery_echoimage'] = true;
So to be clear, this comes to:
open gallery/gallery_global.php and find:
Code:
Content visible to verified customers only.
and replace with:
Code:
Content visible to verified customers only.
havent tested it for gallery 2.5 but it should work like it does on 3.0
but the problem with the above method is that it doesn't take take into consideration the thumbnails.
Luc
The problem with the htaccess file and inline resizing in vbgallery 3.x is that as the browser pulls the bigger image with javascript the "no refferer" clause will apply also to users that are logged in.