Updates for image resizing