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

[sourcecode language='php']
if(!preg_match(‘‘, $item['description'], $imgUrlMatches)) {
[/sourcecode]

to

[sourcecode language='php']
if(!preg_match(‘/src=["]?(http:\/\/.*\/.*)_m\.jpg["]?/’, $item['description'], $imgUrlMatches)) {
[/sourcecode]

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.