rendered paste body <?php for ($i = 0; $i<$photos; $i++) {?> <a href="http://www.flickr.com/photos/<?php echo $xml->photos->photo[$i]['owner']; ?>/<?php echo $xml->photos->photo[$i]['id'];?>"> <img class="flickrImg" src="<?php echo "http://static.flickr.com/"; echo $xml->photos->photo[$i]['server']; echo "/"; echo $xml->photos->photo[$i]['id']; echo "_"; echo $xml->photos->photo[$i]['secret']; echo "_s.jpg"; ?>" alt="<?php echo $xml->photos->photo[$i]['title'] ?>" title="<?php echo $xml->photos->photo[$i]['title'] ?>" /></a> <?php } ?>