Add "getImgInfo" method