Fix Your Broken flickrRSS WordPress Plugin
A few days ago I noticed my flickrRSS WordPress plugin had inexplicably stopped working, and was not loading any of my images. Is your problem the same as mine? I’m running WordPress 2.6.2 and flickrRSS Version 4. Here’s how I fixed it…
Ok firstly, here’s how my site looked when the flickrRSS plugin was mysteriously broken:
![]()
If yours looks like this, or is displaying the flickr link but not the photos, then this might help.
The problem lies on line 53 of flickrRSS.php, which reads:
preg_match('<img src="([^"]*)" [^/]*/>', $item['description'],$imgUrlMatches)
This needs changing to:
preg_match('/img src=([a-zA-Z0-9:\/._]+) /', $item['description'],$imgUrlMatches)
Mine started working again after that!
Hope this helps!
3 Responses to 'Fix Your Broken flickrRSS WordPress Plugin'
Leave a Reply
You must be logged in to post a comment.
















Mine stopped working within the past couple of days. On mine, there wasn’t anything showing… just blank. I uploaded your fix and it’s now working. Thank you so much!
Jason Hansen
20 Nov 08 at 7:55 pm
No problem Jason! Glad it helped
Rob
21 Nov 08 at 11:20 am
This depresses me. I still can’t get it to work. And it was working just fine until today.
Shadow
2 Jan 09 at 7:49 pm