updated get_images.php