Code: Select all
<img src="<?php echo $data['thumbnailUrl'];?>" alt="" border="0" width="122" height="92">I am using this code below but instead of dynamic and static images, only the static images show. what is wrong?
Code: Select all
<?php if(is_file($data['thumbnailUrl'])){ ?>
<img src="<?php echo $data['thumbnailUrl'];?>" alt="" border="0" width="122" height="92">
<?php }else{ ?>
<img src="noimage.jpg" width="168" height="128" alt="" />
<?php } ?>