Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 13:46

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 22. Mar 2007, 06:48 
Offline

Joined: 22. Mar 2007, 06:31
Posts: 5
hi guys

i'd like to set things so photos can't be saved/printed from the site (wanting to use it for staff ID photos & can't let them be taken off the server) - i've disabled downloads, but using MS IE you can still save/print/etc using right-click or just hover over the pic.

has anyone got thoughts on how this could be achieved (remembering i'm not a php guru)

thanks for any help

phil


Top
 Profile  
 
 Post subject:
PostPosted: 22. Mar 2007, 10:38 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You can disable right click with javascript

set

$disable_right_click=false;

to

$disable_right_click=true;

use 1.6 rc2 from the forum!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 23. Mar 2007, 06:42 
Offline

Joined: 22. Mar 2007, 06:31
Posts: 5
Thanks Michael - worked great for the right click!

Small problem though - when the mouse hovers over a selected image we still get a small GUI help bar appear at the top left of the image with icons for save, mail, print etc - is there a way to disable this?

Thanks for your help so far.

Phil


Top
 Profile  
 
 Post subject:
PostPosted: 23. Mar 2007, 09:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
no - but you can always turn of Javascript and save the image - use watermarks ;)


Top
 Profile  
 
 Post subject:
PostPosted: 24. Mar 2007, 08:53 
Offline

Joined: 22. Mar 2007, 06:31
Posts: 5
Trouble is we are wanting to use it for staff ID photos and can't let them be taken off the server - it's not a copyright problem, it's a security issue.

Any thoughts or suggestions as to how we could go about this?

Ta

Phil


Top
 Profile  
 
 Post subject:
PostPosted: 24. Mar 2007, 12:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
then Internet is not the right thing - everyone can always make a screenshot ;) no way to prevent this.

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Mar 2007, 12:29 
Offline

Joined: 22. Mar 2007, 06:31
Posts: 5
Thanks for responding Michael

Actually it is on an isolated intranet - yep, they can screen dump, but the resolution goes to the dogs - what we are trying to stop is the "Save..." option which will still give them an image with reasonable res.

Any thoughts?? - personally I'm agreeing with you, you can't stop people if they have half a brain, but I just want to exhaust all possabilities before I pull the pin.

Thanks

Phil


Top
 Profile  
 
 Post subject:
PostPosted: 24. Mar 2007, 12:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
if you use twg - disable the download if images - then only the images displayed on the detail page can be ""copied" and there it does not matter if you use save as or make a screenshoot.

Resolution is the same


Top
 Profile  
 
 Post subject:
PostPosted: 29. Mar 2007, 06:34 
Offline

Joined: 22. Mar 2007, 06:31
Posts: 5
Thanks for your help.

I had already disabled the image download from within TWG - it was the image toolbar that was getting up my nose.

Found out that it is simply a meta tag that turns it off.

Add the following to inc/head.inc.php & the toolbar is disabled for all pages :-
Code:
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">


This combined with
Code:
$disable_right_click=true;
has provided what I was after.

Thanks again for your help

Phil


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy