check image size
finding another way