From: "Gary" on
Tom

No, I had never D&D'd an image, however I just did. So I see your point.

Thanks for your input.

Gary


"TR Shaw" <tshaw(a)oitc.com> wrote in message
news:CFF72D3B-52CF-4BAF-B60F-6B3709C98E38(a)oitc.com...
Gary

you do realize that if you display the image in a browser without the
watermark, simple drag and drop can copy the image as is (eg without the
watermark)

Tom

On Sep 17, 2010, at 6:21 PM, Gary wrote:

>
> ""Gary"" <gpaul(a)paulgdesigns.com> wrote in message
> news:1F.27.30333.1D5E39C4(a)pb1.pair.com...
>> Is there a way to insert a watermark on an image as it is being uploaded
>> to the image file, then removed when it is called from a database to be
>> viewed on a website?
>>
>> The rational behind this is I have a photographers site I am doing, and I
>> am limiting the size of the images somewhat to reduce pilferage and I
>> would like to be able to show the images a little larger, hence with a
>> bit
>> more clarity and detail.
>>
>> Thanks for your input.
>>
>> Gary
>
> More info.
>
> I was asked off board where the watermark would show, so I am sorry if I
> was
> less than clear. The watermark would show on an image that is being
> downloaded from the server. If this were to work, I could let viewers see
> an image with a size of 640px in width to show clarity, (they are only
> able
> to see an image now with a width of 250 px now) should they decide to help
> themselves to it, it would download with a watermark on it, but the
> watermark would not appear on the web page itself.
>
> Gary
>
>
>
> __________ Information from ESET Smart Security, version of virus
> signature database 5458 (20100917) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


__________ Information from ESET Smart Security, version of virus signature
database 5458 (20100917) __________

The message was checked by ESET Smart Security.

http://www.eset.com





__________ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __________

The message was checked by ESET Smart Security.

http://www.eset.com




From: "Gary" on

"Ashley Sheridan" <ash(a)ashleysheridan.co.uk> wrote in message
news:1284763747.12459.40.camel(a)localhost...
> On Fri, 2010-09-17 at 18:41 -0400, TR Shaw wrote:
>
>> Gary
>>
>> you do realize that if you display the image in a browser without the
>> watermark, simple drag and drop can copy the image as is (eg without the
>> watermark)
>>
>> Tom
>>
>> On Sep 17, 2010, at 6:21 PM, Gary wrote:
>>
>> >
>> > ""Gary"" <gpaul(a)paulgdesigns.com> wrote in message
>> > news:1F.27.30333.1D5E39C4(a)pb1.pair.com...
>> >> Is there a way to insert a watermark on an image as it is being
>> >> uploaded
>> >> to the image file, then removed when it is called from a database to
>> >> be
>> >> viewed on a website?
>> >>
>> >> The rational behind this is I have a photographers site I am doing,
>> >> and I
>> >> am limiting the size of the images somewhat to reduce pilferage and I
>> >> would like to be able to show the images a little larger, hence with a
>> >> bit
>> >> more clarity and detail.
>> >>
>> >> Thanks for your input.
>> >>
>> >> Gary
>> >
>> > More info.
>> >
>> > I was asked off board where the watermark would show, so I am sorry if
>> > I was
>> > less than clear. The watermark would show on an image that is being
>> > downloaded from the server. If this were to work, I could let viewers
>> > see
>> > an image with a size of 640px in width to show clarity, (they are only
>> > able
>> > to see an image now with a width of 250 px now) should they decide to
>> > help
>> > themselves to it, it would download with a watermark on it, but the
>> > watermark would not appear on the web page itself.
>> >
>> > Gary
>> >
>> >
>> >
>> > __________ Information from ESET Smart Security, version of virus
>> > signature database 5458 (20100917) __________
>> >
>> > The message was checked by ESET Smart Security.
>> >
>> > http://www.eset.com
>> >
>> >
>> >
>> >
>> >
>> > --
>> > PHP General Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>>
>>
>
>
> There's no way to do this. Anything you see in your browser has already
> been downloaded in some form onto your computer, and once that happens
> it's out of your control. PHP has no way to detect if the image is being
> requested by the browser to view or download, so can't do what you want.
>
> Besides which, if an image is displayed in the browser, there are dozens
> of ways to get at it, from right clicking and saving it, using the media
> tab of the file info dialogue (firefox), using firebug to view it,
> saving it from the cache, saving the whole page, using wget to spider
> and save that page, etc.
>
> The only way to do what you want is to have your own custom browser app
> (possibly written in Java) but even then someone could simply do a print
> screen.
>
> At the end of the day, if you want to prevent people downloading your
> images, then just don't show them the image.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>

Ashley

When I right click on an image, I assumed it is being called from the
server, not from the browser, which is why I thought this might work.

Thanks for your help.

Gary



__________ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __________

The message was checked by ESET Smart Security.

http://www.eset.com




From: tedd on
At 6:21 PM -0400 9/17/10, Gary wrote:
>""Gary"" <gpaul(a)paulgdesigns.com> wrote in message
>news:1F.27.30333.1D5E39C4(a)pb1.pair.com...
>> Is there a way to insert a watermark on an image as it is being uploaded
>> to the image file, then removed when it is called from a database to be
>> viewed on a website?
>>
>> The rational behind this is I have a photographers site I am doing, and I
>> am limiting the size of the images somewhat to reduce pilferage and I
>> would like to be able to show the images a little larger, hence with a bit
>> more clarity and detail.
>>
> > Thanks for your input.


Gary:

When the user see's an image in their browser they *have* downloaded it.

You cannot show them an image without a watermark and then somehow
prohibit them from downloading the image. When you show it, you've
lost control.

My advice, show them an image with a watermark and only allow them to
see an image without the watermark when you want them to see it -- in
other words, protect the image.

Cheers,

tedd

--
-------
http://sperling.com/
From: tedd on
At 6:56 PM -0400 9/17/10, TR Shaw wrote:
>On Sep 17, 2010, at 6:49 PM, Ashley Sheridan wrote:
>
> > At the end of the day, if you want to prevent people downloading your
>> images, then just don't show them the image.
>
>Actually you can. Serve up an image from the DB and add watermark
>or whatever on the fly for web browsers. If a user downloads
>(assuming that s/he bought the image or the image is a "freebie" )
>the image comes from the DB directly to the user using download
>headers.
>
>Tom

Actually you can't.

Regardless of where the image comes from (DB or file), when the user
see's the image, they have it.

Cheers,

tedd
--
-------
http://sperling.com/
From: tedd on
At 12:36 AM +0100 9/18/10, Ashley Sheridan wrote:
>
>I know this is getting a little off-topic here, but surely the way a
>jpeg destroys data in an image would destroy the stenography information
>too? To the human eye all would appear normal, but the copyright info
>would be lost?
>
>I don't know much about this sort of thing, so I'm making assumptions
>here.


It's the difference between lossless and lossy compression. The first
meaning no loss in data and the second is loss of data. PNG and jpeg
is lossless whereas gif is lossy.

Cheers,

tedd

--
-------
http://sperling.com/