Fixing flickrRSS 5.0
If you are having difficulty displaying photos using the WordPress plugin flickrRSS 5.0 you can make a quick change. Change line 144 which reads
if(!preg_match('<img src="([^"]*)" [^/]*/>', $item['description'], $imgUrlMatches)) {
to
if(!preg_match('/src=["]?(http:\/\/.*\/.*)_m\.jpg["]?/', $item['description'], $imgUrlMatches)) {
Source: Via chaosmaker at Google Groups
Permalink · Written on: 03-29-09 · No Comments »






Leave a Reply
This blog has LaTeX enabled. Use $$stuff$$ for inline code and $$!stuff$$ for math mode.