开发者

What is the most suitable language to make a copy-protected image web-interface

开发者 https://www.devze.com 2022-12-09 12:35 出处:网络
I have my first professional assignment of making a website in which a photographer\'s artwork will be displayed for purchase or print. The protected image will likely be generated in Perl. But what I

I have my first professional assignment of making a website in which a photographer's artwork will be displayed for purchase or print. The protected image will likely be generated in Perl. But what I don't know is which language to implement such an application in. I k开发者_如何学编程now HTML, CSS and a bit of JavaScript and have a mainly free time for a period of 3-4 months in which to finish the project.

I am tossing up between learning JavaScript or ActionScript and Flash to do this project. Which would be most suitable taking into account the timeframe in which to learn the language?


The easiest thing to do is to educate the photographer to the fact that making their photos copy protected is never going to happen once they're on the web. Anyone can take a screen shot and copy them like that. If the photographer is still not convinced, use Flash to make a gallery. If you want another technique, look at how Flickr does it. They overlay "protected" images with a transparent image, so when you right-click to save, you only save that overlaid image.

The best thing to do is accept it, and only put up medium sized images. It's impossible to make a decent size print from these. Or to put a watermark on the image.


You cant make an image copy protected in terms of taking screenshots etc, however you can do the following:

1) Prevent right-clicks (which can be worked around)

2) Use watermarks

3) Use Low-res images

You will need to use a server side technology, the one you choose might depend on what type of infrastructure that hosts it.


You can't really copy-protect an image that appears online. If its online its possible to download it.

Pros of a javascript gallery:

  • Minimal load times (don't have to wait for the flash component to download)
  • can be SEO friendly if done properly
  • visit stellaluca dot com/Great-Hair/ for a good example.

Cons of javascript:

  • Even though you can can disable right-clicking in javascript, users can turn javascript off and right-click the images. To help deter this you can layer a transparent gif over the image.
  • fading between images can be choppy in some browsers

Pros of flash:

  • no right clicking
  • smooth transitions between images when fading

Cons of flash:

  • Longer loading times
  • Very SEO unfreindly
  • Requires the flash plugin

Ideally:

  • You should layer a watermark on the images when uploading.
  • Display images in the smallest resolution acceptable for the project.
  • Disable right clicking on images (this should deter most image theft)

Additionally:

  • You can provide a link for downloading the image directly. That way you can make sure you have a nice large and obvious water mark on the image and ensure that the downloaded image is not in a printable resolution.
0

精彩评论

暂无评论...
验证码 换一张
取 消