[英]What is the most suitable language to make a copy-protected image web-interface
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.
受保护的图像可能会在Perl中生成。 But what I don't know is which language to implement such an application in. I know 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.
但是我不知道用哪种语言实现这种应用程序。我知道HTML,CSS和一些JavaScript,并且主要有3-4个月的空闲时间来完成项目。
I am tossing up between learning JavaScript or ActionScript and Flash to do this project. 我在学习JavaScript或ActionScript与Flash之间进行折衷,以完成此项目。 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.
如果仍然不相信摄影师,请使用Flash制作图库。 If you want another technique, look at how Flickr does it.
如果您需要其他技术,请查看Flickr的操作方式。 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) 1)防止右键单击(可以解决)
2) Use watermarks 2)使用水印
3) Use Low-res images 3)使用低分辨率图像
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: JavaScript库的优点:
Cons of javascript: JavaScript的缺点:
Pros of flash: Flash的优点:
Cons of flash: Flash的缺点:
Ideally: 理想情况下:
Additionally: 另外:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.