在图像下载上自动添加水印 [英] Automatically adding watermark on image download

查看:94
本文介绍了在图像下载上自动添加水印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人从您的网站下载图像时,是否可以添加水印?如果可以,什么是最好的方法?

Is it possible to add a watermark when someone downloads an image from your website? If yes, what's the best way to do it?

谢谢.

推荐答案

如果您的意思是Right Click -> Save使用它,那恐怕是不可能的.
如果您通常是说您有一个专用的下载按钮或链接,则可以使它通过一个PHP文件重定向该请求,该文件将添加所需的水印并生成一个新的图像文件供下载.

If you mean when Right Click -> Saveing it, thats not possible I'm afraid.
If you generally mean that you have a dedicated download button or link, You could make It would redirect the request through a PHP file that will add the needed watermark and generate a new image file for download.

这篇关于在图像下载上自动添加水印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆