Tutorials
Joomla! flickr feed module by Andy Sharman
Flickr feed Joomla module
Written by Andy Sharman Saturday, 13 June 2009 18:25
In addition to the Flickr Feed code I intend on releasing to everyone when I get back from holiday in a weeks time, I have additionally made it into a Joomla! module for anyone and everyone to use and hopefully register it back to me. Anyway, there are a few things to go over with regards to the module:
- It is supplied "as is" no warranty is applied or even implied.
- If you are getting a JFolder::create error it is due to your file permissions, please create the directory images/flickrCache (or the directory you have specified the module to use).
- If you have any queries or suggestions please contact Andy Sharman or alternatively post a comment and I will either reply to your email address supplied or on the comments base here.
- Should you not wish for the flickr feed to include a link posting back to this website then please turn it off using params->signature: "I refuse to support the development" - Please remember that the only way I can create a user base for the module is by people knowing who made it!
- Have fun, modify it, and redistribute it!
I have attached the module below, enjoy!
- New update release including CSS options and jQuery slideshow functionality these will be release in tandem as some people won't need or want this functionality.
- Joomla! flickr feed module with jQuery and CSS here
Joomla! Flickr Feed






Comments
I\'ll put one together next week, but as you didn\'t leave a contact email I\'ll assume you\'ll check back later here!
I like your extension.
The only this, and that\'s why I don\'t use it, is that is does not keep the images in their original shape...
Photos are rarely square and not all of my photo\'s are landscape or all are portrait.
Is there a chance you will fix this in future versions?
And I would really like a randomizer in it.
Tnx in advance!
Works like a charm.
Thanx!
Grtz, Kees
after this code:
Code:
$titles = $items->getElementsByTagName(\'title\');<br /> $title = $titles->item(0)->nodeValue;add in this code:
Code:
$authors = $items->getElementsByTagName(\'author\');<br /> $author = $authors->item(0)->nodeValue;find this code:
Code:
$image_link = $this->makeImageUrl($id, $myid);change to this:
Code:
$image_link = $this->makeImageUrl($id, $myid, $author);replace the function MakeImageUrl around line 110 with:
Code:
<br /> function makeImageUrl($id,$img,$author)<br /> {<br /> $string = explode(\':\',$img);<br /> $imgid = explode(\'/\',$string[2]);<br /> $authorString = explode(\'/\',$author);<br /> $return = \'http://www.flickr.com/photos/\'.$authorString[4].\'/\'.$imgid[4].\'/in/pool-\'.$id;<br /> return $return;<br /> }<br />you can see it working here: http://ascartel.com (top right)
$feedurl = \'http://api.flickr.com/services/feeds/groups_pool.gne?id=\'.$id;
right now using the code: 1121722@N24
for http://flickr.com/groups/ascartel doesn\'t seem to work
RSS feed for comments to this post.