Removed console log from imageSizer function