in reply to reading file size of web images

use Image::Size
gives plenty of possible combinations in whch you would like to get the size......

Manav