I have a watermark script that I wrote that will watermark on the fly. I now want to watermark any external image requests. Here is what I added to .htaccess:
The problem with this is that any image on my site, not using the full domain, is also watermarked. How do I stop this?Code:#RewriteCond %{HTTP_REFERER} !^http://www\.nationofblue\.com/$ [NC] #RewriteCond %{HTTP_REFERER} !^$ #RewriteRule ^(.*)\.(gif|jpg|png)$ watermark.php?img=$1\.$2 [R]


LinkBack URL
About LinkBacks





Reply With Quote
