Looks like you're using the upload field on a content node. It might be better to use the media section since it will also give you the width and height, but it's not necessary. You could also add a width and height property to your content node and those will be updated if you upload a new image. They alias needs to be umbracoWidth and umbracoHeight and than they should be set. Than this could work (but I recommend xslt or razor):
width and height with page fields
I havea pagefield
<img src="<umbraco:Item field="sidebarImage" runat="server" />" />
The problem is it has not with and height which will cause problems in earlier versions of ie.
How can I get the width and height?
Looks like you're using the upload field on a content node. It might be better to use the media section since it will also give you the width and height, but it's not necessary. You could also add a width and height property to your content node and those will be updated if you upload a new image. They alias needs to be umbracoWidth and umbracoHeight and than they should be set. Than this could work (but I recommend xslt or razor):
Jeroen
is working on a reply...