Fix FlickrRSS WordPress plugin.

I use the FlicrRSS plugin to display my recently uploaded pictures from Flickr. However when installing it, it did not show any pictures.

After googling around for a while this seems to be a somewhat common occurance, however its easy enough to fix.

You need to edit the flickrrss.php file and change the following line:

if(!preg_match('<img src="([^"]*)" [^/]*/>', $item['description'], $imgUrlMatches)) {

to

if(!preg_match('/img src=([a-zA-Z0-9:\/._]+) /', $item['description'],$imgUrlMatches)) {

Save the changes and that should be it working.

Add Comment Register



Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>