add script for get image information.