I always use Flickr pictures on my WP blog posts, and found that they weren’t showing up when entering them directly into the Thesis post image and thumbnail parameters. The picture was just missing and the Flickr image was no where to be seen.
A quick check of the offical suport forum revealed that this was because the Thesis theme code tries to query the Flickr server to see what size the image is. The function tries to get some details for the photo but it can’t and so the Flickr images doesn’t show up on your blog post.
This is easy to put right by asking your server to allow their PHP install to call the fopen function. Often switched off by default for security reasons. Although I could ask my host to enable this they would only do it site by site which was a big pain so I sought and alternative solution.
The great thing about Flickr is that their pictures come in set sizes already, for example:
So this little change is great if you use fixed sized Flickr images. Not so great if you don’t.
A Quick Thesis Hack to Allow Flickr Images
As with any hack, back up first and make sure you understand what you are doing. Attempt at your own risk. Neither I nor the Thesis developers are committed to supporting this!
Open up the following file:
Comment out the reference to getimagesize on line 65.
Now remove the height and width attributes on line 85.
$post_image['output'] = $open_link . '<img ' . $image['class'] . $image['attributes'] . ' alt="' . $image['alt'] . '" />' . $close_link . "n";
That should be it! This was tested on version 1.7.