UBB.Dev
Posted By: Chevy454 Protecting images/info on website - 03/17/2004 7:36 PM
Our car club is considering releasing some previously unseen auto information on our site, and I was wondering what were the best ways to ensure due credit is given?

Right now, the best I have come up with is to post the info as an image, with a "watermark" of our club logo as the background, as well as a "right click disable" code.

But, I was curious if there were better ways to do this? The info is basically a list of numbers/text, so any format is acceptible. But, I'd like to ensure we are given credit...

Thanks!
Posted By: ericgtr Re: Protecting images/info on website - 03/17/2004 7:55 PM
It sounds like you are taking the right steps, unfortunately there isn't much you can do to completely prevent this so tagging it is a good idea. Another thing you may want to consider is a modrewrite in your .htaccess if you want to prevent outside linking to your images. There's lots of great info on how to do this in google by doing a simple search for htaccess prevent link
Posted By: Chevy454 Re: Protecting images/info on website - 03/17/2004 9:59 PM
Thanks for the idea. I kinda figured I was doing about all that could be done, but even working around that is as easy as highlight/File/SaveAs. Oh well, better than nothing!

Thanks!
Posted By: ericgtr Re: Protecting images/info on website - 03/17/2004 10:23 PM
Not to mention that in Windows XP all you have to do is wave your mouse over the image and it pops a little disc that you can click to Save As. I believe that the image has to be a certain size before it will do that though, not sure what it is.
Posted By: J.C. Re: Protecting images/info on website - 03/17/2004 10:52 PM
A lil trick is to make the images a background in the cell. this plays with the minds of the would be theives. They right click and their is no save image as...

Another thought is to stop hotlinking also.
Posted By: Chevy454 Re: Protecting images/info on website - 03/17/2004 11:02 PM
Could you explain that a little, JC? Sometimes you gotta type slowly to me...LOL
Posted By: J.C. Re: Protecting images/info on website - 03/17/2004 11:29 PM
To make the image a background you do this:

<td class="image-1"><img src="blank.gif" width="200" height="200" /></td>

Blank.gif comes with threads. The size varies based on the size of the image you are "hiding". Then add this to your css sheet.

.image-1 {
background-image: url(/path/to/image/Image.jpg);
background-repeat: no-repeat;
height: 200px;
width: 200px;
}
Posted By: Chevy454 Re: Protecting images/info on website - 03/17/2004 11:34 PM
Cool...thanks!
Posted By: Anno Re: Protecting images/info on website - 03/28/2004 7:00 PM
You can make a screenshot enytime though which results in the very same image....

The rule of thumb is: as soon anything displays in a browser, it can be "stolen".
Posted By: Gregori Re: Protecting images/info on website - 01/28/2005 1:15 PM
Offcourse anything can be stolen, that´s why it would be nice to be able to set Threads to put a permanent watermark on every image as it is being uploaded by the user creating the post.

This way the site owner will at least get some credit when the images starts floating around the Net!
Posted By: Anno Re: Protecting images/info on website - 01/28/2005 1:47 PM
This is a case for ImageMagick
http://www.google.com/search?q=ImageMagick+watermark
or GD
http://www.sitepoint.com/article/watermark-images-php
Posted By: Gregori Re: Protecting images/info on website - 01/29/2005 3:47 PM
So... all we need now is a nice person with the time and ability to write an Upload & Watermark mod for Threads, based on GD or ImageMagic!
Posted By: Anno Re: Protecting images/info on website - 01/29/2005 7:13 PM
how much can you pay?
Posted By: Anno Re: Protecting images/info on website - 01/30/2005 2:23 AM
In the attachment is an upload script I put together today.
It utilizes the gd2 library and features watermark and thumbnail creation.
Take a look at it, it should be very easy to use the code for what you intend to do.

Attached File
124946-upload.zip  (9 downloads)
Posted By: Gregori Re: Protecting images/info on website - 01/30/2005 4:21 PM
Oh! Thank you!

Looks quite interesting, this script.

I´ve uploaded it (script and watermak image) to my web site root, added a directory for uploaded images (with 777 as rights).

But when I try to upload an image (right file type, size)) all i get is the "Could not move" error code.

Any idea?
Posted By: Anno Re: Protecting images/info on website - 01/31/2005 3:18 PM
Did you specify the directory to upload to in the settings?

For instance:
let's assume your webroot is

/user/gregori/www/

let's assume your upload directory you created is named "upload"

then you have to specify upload/ in the settings.

$uploadfolder = "upload/";
Posted By: Gregori Re: Protecting images/info on website - 01/31/2005 6:20 PM
Yep! Done all that!
Posted By: Anno Re: Protecting images/info on website - 01/31/2005 7:58 PM
In the attachment a version which outputs the relevant variables.
PM me the output.

Attached File
124978-up6.zip  (5 downloads)
Posted By: Anno Re: Protecting images/info on website - 01/31/2005 10:01 PM
I uploaded a corrected version as attachment here.

Attached File
124986-up6.zip  (9 downloads)
© UBB.Developers