<?php foreach (PageContext::$response->imageDetails As $images) {
    $srcurl = PageContext::$response->userImagePath . 'medium/member_noimg.jpg';
    if ($images->news_feed_image_name != '') {
        $srcurl = PageContext::$response->userImagePath . 'medium/' . $images->news_feed_image_name;
    }
    ?>
    <li><a href="<?php echo PageContext::$response->userImagePath.$images->news_feed_image_name;?>" title="<?php echo $images->news_feed_comment;?>"><img src="<?php echo $srcurl;?>" alt="<?php echo $images->news_feed_comment;?>"></a></li>
    <?php
}
?>
