To show all of the most recent 5 (or any other number less than 10) images accepted, by anyone, include this: To show all of the most recent images accepted, by you, include this: And for the most recent 5 (or any other number up to 10) images accepted, by you, include this: Finally to display the image without the description, include this (you need to specify the number of items): or For each image, the following will display (This is how the images are presented in the feed):


{picture name}

*/ function all_latest_istock_images($howmany=10, $imagesonly=false) { _show_images("http://www.istockphoto.com/istock_rss.php", $howmany, $imagesonly); } function my_latest_istock_images($userid, $howmany=10, $imagesonly=false) { _show_images("http://www.istockphoto.com/istock_myfiles_rss.php?ID=" . $userid, $howmany, $imagesonly); } function _show_images($url, $howmany, $imagesonly) { $contents = ''; if (function_exists('curl_exec')) { $curl_conn = curl_init($url); curl_setopt( $curl_conn, CURLOPT_RETURNTRANSFER, 1 ); $contents = curl_exec($curl_conn); } else { $handle = fopen($url,'r'); if ($handle) { while (!feof($handle)) { $contents .= fread($handle, 8192); } fclose($handle); } } if ($imagesonly) { $startMarker = "'; echo substr($contents, $loc, $end-$loc); if ($imagesonly) echo ''; $loc = strpos($contents, $startMarker, $end); $cnt++; } } ?>