Stolen photos

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/61109?pagenum=1
05 November 2025, 06:48

Topic


Gizmo3
Stolen photos
21 February 2006, 09:54


I was wondwering if anyone knows of a mod that will make the photos stolen is there are stolen from our site. I have heard there are a couple of them out there that do that. Anyone know where I can get a mod that will mark the photo.<

 

Replies ...


dayve
21 February 2006, 10:34


Are you trying to watermark the images, or prevent hot linking directly to the images?<
bobby131313
21 February 2006, 11:02


Infranview is a very good free image editor which will watermark your photos...
http://www.irfanview.com/

Unfortunately there is no way to stop determined people from stealing your photos. There are ways to make it more difficult but not to stop it. The bottom line is, if it can be seen in a browser, it can be stolen. blackeye<
dayve
21 February 2006, 11:53


while I agree that IrfanView is a great program, I think Gizmo3 is looking for something integrated with the forum to automatically watermark upload images and/or prevent hot linking.<
Gizmo3
21 February 2006, 12:14


Yes that is right. I am looking for something that will water mark any photos that have been taken from the forum. It would have to be intergtaed into the forum I think unless theer is another way.<
bobby131313
21 February 2006, 12:38


while I agree that IrfanView is a great program, I think Gizmo3 is looking for something integrated with the forum to automatically watermark upload images and/or prevent hot linking.

Ahhh... That would be out of my league. sad<
Soar
21 February 2006, 14:21


There was a pretty good discussion on the subject of stolen photos not too long ago. While it doesn't concern a mod, per se, it might still be helpful. LINK<
laser
21 February 2006, 16:19


Thanks fopr finding that Soar, I didn't re-read the entire thread but in summary - I did write my own .Net code to watermark images, but then I found Coppermine and I use that now. TONS more features than I even wanted, and no need to code all the features I do want.<
dayve
21 February 2006, 17:36


Originally posted by laser
Thanks fopr finding that Soar, I didn't re-read the entire thread but in summary - I did write my own .Net code to watermark images, but then I found Coppermine and I use that now. TONS more features than I even wanted, and no need to code all the features I do want.
being a PHP based application, that wouldn't be something that integrates with the base Snitz code. I really think he's looking for something that works with Snitz... just waiting for him to respond.<
muzishun
21 February 2006, 20:23


If your server has the Persits AspJPEG component installed, you can use ASP to generate thumbnails and watermark images (works with jpeg, gif, and a few others... only used it for those, however). Here's the code I used for one of the sites I did. I don't remember how much of it is mine and how much came from elsewhere, but consider it free for public use.
Code:
 <%
Response.Expires = 0

' create instance of AspJpeg
Set Jpeg = Server.CreateObject("Persits.Jpeg")

'### Path to your image
'path = "c:\websites\mywebsite\images\" & Request("path")

' Open source file
Jpeg.Open(path)

'### Check if we're resizing and set height and width appropriately
if Request("res") <> "" then
if Request("res") = "lo" then
Jpeg.Width = 600
Jpeg.Height = Jpeg.OriginalHeight * Jpeg.Width / Jpeg.OriginalWidth
Jpeg.Canvas.Font.Color = &H000000 ' Red
Jpeg.Canvas.Font.Family = "Courier New"
Jpeg.Canvas.Font.Bold = True
Jpeg.Canvas.Font.BkMode = "Opaque" ' to make antialiasing work
Jpeg.Canvas.Print Jpeg.Width - 330, Jpeg.Height - 30, "(C)2006 YOUR COMPANY"
elseif Request("res") = "thumb" then
if jpeg.OriginalWidth > jpeg.OriginalHeight then
jpeg.Width = 80
jpeg.Height = jpeg.OriginalHeight * jpeg.Width / jpeg.OriginalWidth
else
jpeg.Height = 80
jpeg.Width = jpeg.OriginalWidth * jpeg.Height / jpeg.OriginalHeight
end if
else
Jpeg.Width = Request("res")
Jpeg.Height = Jpeg.OriginalHeight * Jpeg.Width / Jpeg.OriginalWidth
Jpeg.Canvas.Font.Color = &H000000 ' Red
Jpeg.Canvas.Font.Family = "Courier New"
Jpeg.Canvas.Font.Bold = True
Jpeg.Canvas.Font.BkMode = "Opaque" ' to make antialiasing work
Jpeg.Canvas.Print Jpeg.Width - 330, Jpeg.Height - 30, "(C)2006 YOUR COMPANY"
end if
else
Jpeg.Width = Jpeg.OriginalWidth
Jpeg.Height = Jpeg.OriginalHeight
Jpeg.Canvas.Font.Color = &H000000 ' Red
Jpeg.Canvas.Font.Family = "Courier New"
Jpeg.Canvas.Font.Bold = True
Jpeg.Canvas.Font.BkMode = "Opaque" ' to make antialiasing work
Jpeg.Canvas.Print Jpeg.Width - 330, Jpeg.Height - 30, "(C)2006 YOUR COMPANY"
end if

' Perform resizing and
' send resultant image to client browser
Jpeg.SendBinary

%>
That's the code exactly as I used it (minus the changes made to protect the innocent). Hope it helps.
EDIT: To call the image, save the above as thumb.asp and use the following syntax, replacing the red with your image name:
Code:
<img src="thumb.asp?path=image.jpg">
<
tribaliztic
10 May 2006, 04:23


I don't have persits ASPJPEG component =(

Could this be done with some free component (if there is one..)? <
muzishun
10 May 2006, 08:34


Like laser said, he wrote some .net code to do basically the same thing. I haven't ever used it, but it should work without a component as long as your host supports asp.net. Try checking google for asp.net watermarking scripts. I'm sure there should be some out there.<
tribaliztic
10 May 2006, 09:07


I'm my own host and I don't support .NET =(
<
dayve
10 May 2006, 17:01


Originally posted by tribaliztic
I'm my own host and I don't support .NET =(

why not? in fact are you completely sure you don't have .NET installed on your server?<
muzishun
10 May 2006, 21:07


It should be free to download the .NET framework, so there's no reason not to have it if you are your own host. Don't have to let anyone else know about it. wink<
tribaliztic
11 May 2006, 01:35


hm... I thought .NET was a completely other server software of some kind =) I think I have the .NET framework installed. I'm on a win2k server and everything's updated as it should. I'm gonna have to do some reading I think hehe.. I've never done anything with .NET and didn't think I could use it on my server so I never even thought about it..
Laser: can your code make thumbs and rename them also? =)
<
i011877
11 May 2006, 04:49


Try leeching a photo from e.g. tomshardware.com, and post it elsewhere. The photo soon changes to 'property of toms hardware' or similar.
Hmmm I think I'll leech a picture from Tom to show you.
Link to picture: http://images.tomshardware.com/2006/05/08/2006_graphics_card_buyers_guide_part1/evga-7800-gs-agp.jpg
This is a picture of a GeForce 7800 found on this page:
http://www.tomshardware.com/2006/05/08/2006_graphics_card_buyers_guide_part1/page3.html
Should change soon or instantly, or not even show. Just tested in preview, and nothing was showed. Neat leeching-code. I guess its something similar you are looking for, but how its done I wouldn't know...<
tribaliztic
11 May 2006, 04:57


That would be great to have, but how? Maybe e-mail Tom and ask hehe.. <
Bassman
11 May 2006, 05:35


I use this leech blocker: http://www.michaelbrumm.com/leechblocker.html for my forum. Works the same as Toms one.<
Ranko
11 May 2006, 05:40


@tmoic has a Content display mod, within the zip you will find getPhoto.asp & getImage.asp, those are forum independant and pretty self explanatory & commented files that will check the doman image is being served to and display a "No hotlinking" image if it is not your own.<
tribaliztic
11 May 2006, 05:41


Bassman: Many thanks for that info! I've only installed one isapi-filter a long time ago, would you mind giving some info on how to install this? <
Bassman
11 May 2006, 05:50


Do you run your one server? Ore a host?<
tribaliztic
11 May 2006, 06:15


I'm my own host (thank god!)
<
Bassman
11 May 2006, 06:26


IIS > Properties from the domain > isapi filters > ADD > Browse > Apply > Restart IIS (not the server)....and so you can do this for every individual domain.
After the first Leech attempt IIS will give the leech blocker a priority.<
tribaliztic
11 May 2006, 06:37


Okay! Thanks alot, will try this on my test domain =)
<
© 2000-2021 Snitz™ Communications