简体   繁体   English

制作受复制保护的图像Web界面最合适的语言是什么

[英]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库的优点:

  • Minimal load times (don't have to wait for the flash component to download) 加载时间最短(不必等待Flash组件下载)
  • can be SEO friendly if done properly 如果做得好,可以是SEO友好的
  • visit stellaluca dot com/Great-Hair/ for a good example. 访问stellaluca dot com / Great-Hair /就是一个很好的例子。

Cons of javascript: JavaScript的缺点:

  • Even though you can can disable right-clicking in javascript, users can turn javascript off and right-click the images. 即使您可以禁用右键单击javascript,用户也可以关闭javascript并右键单击图像。 To help deter this you can layer a transparent gif over the image. 为了防止这种情况,您可以在图像上放置透明的gif。
  • fading between images can be choppy in some browsers 在某些浏览器中,图像之间的褪色可能会变得不稳定

Pros of flash: Flash的优点:

  • no right clicking 没有右键单击
  • smooth transitions between images when fading 淡入淡出时图像之间的平滑过渡

Cons of flash: Flash的缺点:

  • Longer loading times 加载时间更长
  • Very SEO unfreindly 非常不友善的SEO
  • Requires the flash plugin 需要Flash插件

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. 这样,您可以确保图像上有明显的大水印,并确保下载的图像不是可打印的分辨率。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 什么是最适合构建REST API的RIA编程语言? - What is the most suitable RIA programming language to construct a REST API? 适用于网络项目的技术,框架,语言 - Suitable technology, framework, language for web-project 对于想要构建涉及文本输入和音频输出的简单网络游戏的初学者来说,最合适的编程语言是什么? - What would be the most appropiate programming language for a beginner that wants to build simple web games that involves text input and audio output? 使用什么Web服务/接口? - What Web services/Interface to use? 有什么好的 web 接口与 WCF 一起使用? - What's a good web interface to use with WCF? 哪个Java网络服务器最适合这里? - Which java webserver is most suitable here? 在简单的Web应用程序上选择哪种程序语言? - what program language to choose on simple web application? 适用于中型Web项目的语言(Java或Python)+框架? - What language (Java or Python) + framework for mid sized web project? 在创建账单支付 web 应用程序时选择什么编程语言? - What programming language to choose on creating a bill paying web application? 为JSFiddle制作Web应用程序的静态副本的简单方法? - Easy way to make a static copy of a web app for JSFiddle?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM