Results 1 to 8 of 8

Thread: Using html

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Location
    Propped up at a PC near you...
    Posts
    194

    Using html

    Could anyone help with coding to stop users copying/downloading of graphics from a web page. Eternally grateful for code or ADVICE

  2. #2
    Addicted Member BIOSTALL's Avatar
    Join Date
    Apr 2005
    Location
    Northampton, UK
    Posts
    180

    Re: Using html

    The only way i can think of doing this is to disable the right-click on the users mouse. It is not foolproof though; If you were to doing it using a script, a user could use a browser that is not compatible wth scripts and therefore, the right button would be enabled. Anyway, Here's a link to a javascript script that disables right click

    http://www.billybear4kids.com/clipart/riteclic.htm

    Good luck

    BIOSTALL

  3. #3
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602

    Re: Using html

    If you do not want people copying/downloading your images, don't put them on the website. If someone wants them, there's always a way to get them.
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  4. #4
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: Using html

    No fool-proof way of doing it. Some sites put a watermark image over images they don't want copied - you need to do this server-side though.

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

  5. #5
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602

    Re: Using html

    That's actually done in the paint/photo program not in code.
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  6. #6
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: Using html

    Psyrus - it can be done in a paint/photo program but if you can't be bothered to do it every time (especially if you have a lot of images) then adding a watermark at runtime very helpful. Take a look -> http://www.thecodeproject.com/aspnet...ageHandler.asp

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

  7. #7
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602

    Re: Using html

    Interesting, that would prove to be very useful once set up, but it seems a lot of extra work to go through when it's done easier in a paint program. Good article though.
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  8. #8
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: Using html

    Yeah it only makes sense if you are uploading a lot of images i.e. when adding a watermark yourself becomes a pain in the arse.

    I have a site that has an administration area to upload images and other details rather than using FTP - it adds a watermark to the image when it is uploaded rather than at runtime (when the image is requested) which simplifies matters a tad.

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width