added request image to the index.php js