Wordpress Flickr Manager Broken? Possible fix for you
Hey, I am remembering to write this one down right after I solved the problem. Aren't you proud of me?
So, open source software is great. All those free apps, and free doodads you can run on your website! Shopping carts, project management sites, wordpress plugins...Yay!
Except when they break and the developer has stopped working on them.
Wordpress is a great piece of open source software, but I have seen two of the plugins I rely upon for clients go unsupported in the past year.
WFM hasn't been updated for the latest versions of Wordpress, so the built in Lightbox function isn't working anymore. You can still insert Flickr pictures, but the Lightbox effect doesn't work, and you can't upload pictures via the plugin.
However there are fixes!
First of all, you need to edit some files in the plugin's folder. I don't have to tell you to use a text editor like Window's Notepad, or Notepad++ (Free Code Editor), do I?
In order to fix the Lightbox not working issue, edit wfm-lightbox.php and wfm-hs.php and remove the @ characters from the file. (2 in each file). Those php files are in the /js folder inside the plugin's folder. This solution was found here: Plugin Broken With WP2.8.
In order to fix the upload issue, comment out line 139 in FlickrCore.php like this
echo 'Content-Type: ' . mime_content_type($filename) . "\r\n";
// echo 'Content-Type: ' . mime_content_type($filename) . "\r\n";
This 'solution' was found here: Uploads don't work local. I have no way of knowing what commenting out that line really does, so use at your own risk.