started search and display images in index.php