Hi,i´m working on a site where they shows and sell their photos, so it is important that visitors can´t download pictures, the problem is when they deactivate javascript all the pictures on the web can be download.I would like to know in which module is the validation to know if javascript is activated or not. I need to modify and "block" the visitors to navigate the web (put the page in blank or something) if javascript is deactivated.
Thanks for your help.
Posts: 8339
you could always do something simple like set all images on the page to display: none;
Then if the visitor has javascript set them back to display: block;
this way only visitors w/ javascript can see any images on yoursite.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 1642
In addition, rather than just serve them a blank page, you can pass visitors with javascript disabled a message by creating a noscript.tpl file in the templates folder of your theme with something like the following in it...
Then include it in photo.tpl (to only show in photo pages) or theme.tpl (to show on all pages)
--
dakanji.com
Posts: 4342
These will be the same visitors who can just dig the files out of their browser's cache, or work out the url structure, or just use the PrtSc button and Paint to take a screen grab of the pictures they're not allowed to download?