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