It should work. When you upload the image do you see the width and height in a pop-up window?
What OS and Publii version are you using?
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!