如何保护你的 Magento 网站上的图片?这可能是每一个 Magento 的店主已经在一些点问他或她自己的问题。花费了一大笔钱在金钱、 时间和/或在得到正确的图片为您的网上商店的努力中它可以是相当令人沮丧的看到你的产品在竞争对手网站显示的图像。 
	第一道防线是保护您的图像与 Magento 的动态水印可以在配置中被发现。但又有何用水印如果原始图像仍然可用吗? 
	看看水印的图像的 URL 将允许您图像小偷可以很快为其原始位置: 
	/media/catalog/product/cache/1/image/300x/d4c993948ae1a18eb47defdae28ac3d5/w/i/wit_3_61.jpg 
	成为 
	/media/catalog/product/w/i/wit_3_61.jpg 
	我做了试了几次,编码一个.htaccess 文件,将拒绝所有访问。这然而阻止访问以及管理面板中的图像编辑器。 
	修改,并将下面的.htaccess文件放在/var/media/catalog目录中来限制对原始图像的访问: 
	Options +FollowSymLinks   
	RewriteEngine on   
	#Following line allows the actual images to be accessed by admin end directly   
	RewriteCond %{HTTP_REFERER} !^http://www.yourwebsite.com/.*$ [NC]   
	#Following line allows the watermarked images to be accessed directly. Rule says that if URL does not contain cache   
	RewriteCond %{REQUEST_URI} !(/cache/) [NC]   
	#This is the page where visitor will be redirected if tries to access images directly.   
	RewriteRule \.(gif|jpg)$ http://en.wikipedia.org/wiki/You_shall_not_steal [R,L] (责任编辑:最模板) | 

							ecshop仿九九康体保健品商
							人气:654
						
							ecshop仿衣服网模板
							人气:568
						
							一元云购系统源码带手机
							人气:6204
						
							ecshop仿趣玩2012最新版
							人气:720
						
							shopex茶叶网模板
							人气:1347
						
							ecshop秒杀插件272UTF8版本
							人气:5034