add filesize method in Image_impl
some image command polishing