Docs says:
The width of the image, in pixels. Must be an integer without a unit. The height of the image, in pixels. Must be an integer without a unit.
https://nextjs.org/docs/api-reference/next/image
Different devices can have different size. Devices can be desktop or mobile. It is a bit tedious to send the actual size of each image.
I think I do not have to send the exact size of an image, but it is enough that proportion of sent width, height is equal with proportion of actual width and height. Do you agree with me?
So if I look here on the businessman:
https://tiket.hu/sell/services
Businessmen here on Desktop has a 468x346 size, then if I pass width={100} height={74}
then returned image will have optimal size. Right? And loading speed will be optimal also.