add comment to get_images_view and merged exception handlings