Disallow watermark image from hiding thumbnails in Facebook, etc
-
This is a little complicated.
Google is stealing bandwidth and full size images now, as you know. I uploaded a watermark image to hide the original image when it is hotlinked — by anyone, not just Google, of course.
The problem is, it also hides thumbnails, even when I want them to show, as in Facebook, etc. Here is what has happened to my thumbnails on this Facebook fan page.
The htaccess I am using will disallow a “thumbnail” file, but that isn’t what thumbnails are called in WordPress. I don’t know what they are called, and I asked this before! Even if the folder doesn’t have a name, can I somehow put in a size there, like not to use on images at 150px or under? I don’t know how to change this htaccess to do that.
//if the filename has _thumb in it's name then we don't apply the watermark if (eregi("_thumb", $src)) { imagejpeg($image, null, $src); die(); } //if
Can someone please help on how to tell htaccess to leave thumbnails alone? Thanks!
- The topic ‘Disallow watermark image from hiding thumbnails in Facebook, etc’ is closed to new replies.