Stolen photos - Postet den (1954 Views)
Medlem er låst
Gizmo3
Innlegg: 130
130
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.<
This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!
   
 Sidestørrelse 
Postet den
Forum Moderator
dayve
Innlegg: 5820
5820
Are you trying to watermark the images, or prevent hot linking directly to the images?<
Postet den
Senior Member
bobby131313
Innlegg: 1163
1163
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<
Postet den
Forum Moderator
dayve
Innlegg: 5820
5820
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.<
Postet den
Medlem er låst
Gizmo3
Innlegg: 130
130
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.<
This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!
Postet den
Senior Member
bobby131313
Innlegg: 1163
1163
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<
Postet den
Junior Member
Soar
Innlegg: 197
197
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<
Postet den
Medlem er låst
laser
Innlegg: 3859
3859
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.<
Postet den
Forum Moderator
dayve
Innlegg: 5820
5820
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.<
Postet den
Senior Member
muzishun
Innlegg: 1079
1079
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">
<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Postet den
Senior Member
tribaliztic
Innlegg: 1532
1532
I don't have persits ASPJPEG component =(

Could this be done with some free component (if there is one..)? <
/Tribaliztic
- www.gotlandrace.se -
Du må legge inn en melding