• I am using a jerry-rigged system to stop Google from hotlinking to and using my full-size cartoons. It includes a change to the htaccess file, and also a blank image that pastes itself on top of all hotlinked images (which, of course, is Google since February of this year,) and a php file.

    It works fine, but it also covers thumbnails, and I need thumbnails to link and show on Facebook. Getting thumbnails to show on Facebook is an ongoing problem (what IS their coding problem there??) but especially with WordPress blogs. There have been many plugins to try to fix this problem – I tried 5 out this afternoon, with no success, and I think a couple of them screwed up my thumbnail folder.

    In any case, I wouldn’t need a plugin if I could just fix my php folder and have it not work on thumbnails. Here is the code it has now: `//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`

    Thanks for any advice on how to add the name of the thumbnail file!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure about the exact request — but if it’s strictly for Facebook pulling images, Facebook looks for open graph images first and will always thumbnail those to url’s. There’s lots of plugins that can add the og:image tag (sorry you had such luck with the 5 before), but there are some that work.

    The og tag looks like this:

    <meta property="og:image" content="https://site.com/image.png" />

    Very important note: you bad luck with the 5 might of been because facebook has a really strong cashe on images for URL’s, it imediatly associates and sets the image for days. When you’re testing on Facebook, try different URL’s, as URL’s will associate themselves.. Add additional queries to your URL like ?refresh=1 to trick facebook looks for a new image instead of using it’s cashe

    Thread Starter Drawer2

    (@drawer2)

    Davidsword (word or sword, both work!) thanks very much for this. Interesting that Facebook has that strong cache.

    But I really need the name of the thumbnail folder, so I can tell the htaccess to allow thumbnails without the protective image on top. I can’t post anything on Facebook this way. Apparently it’s not called “thumbnails.”

    Here is one of my Facebook pages, so you can see what happens on every thumbnail: https://www.facebook.com/What.Do.Women.Really.Want

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Find thumbnail folder’ is closed to new replies.