ldoozer Posted September 8, 2010 Share Posted September 8, 2010 I am trying to pull in the latest Flickr images from my account and using magpierss to parse the feed. I am successfully creating a ul list of the images using the code below, but I cannot see how to size the images, can anyone help. The $item['description']; line produces: Username posted a photo:FlickrImage <? require_once 'magpierss/rss_fetch.inc'; $url = ''; $rss = fetch_rss( $url ); echo '<ul>'; foreach ($rss->items as $item) { $href = $item['link']; $title = $item['title']; $img = $item['description']; echo "<li><a href=$href>" . $img . "</a></li>"; } echo "</ul>"; ?> Link to comment https://forums.phpfreaks.com/topic/212902-magpie-php-flickr/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.