Added back legacy way of resizing images per @bartont request.