adds image to index.php