debug of img height for resizing