display images

Display all Images of a folder using simple php script

In this article I am discussing about how to fetch all images from a folder using simple php script. (No database needed). Simply just make a php file and implement the below codes on that file. <?php $my_images = glob(“my_album/*.*”); for ($i=0; $i<count($my_images); $i++) { $image = $my_images[$i]; ?> <img src=”<?php echo $image; ?>” width=”200″ height=”200″…