my version of imgsizer