Image Height and Width values

  • Thread starter Thread starter Blake Versiga
  • Start date Start date
B

Blake Versiga

After pulling an image from the data base and the Image.Height and
Image.Width are not set to the ImageURL's attributes.

1) Is there a way to have these properties updated? or

2) How do I get the image height and width to store?

Thanks in advance.
Blake Verisga
 
Will this help?

Protected WithEvents About As System.Web.UI.WebControls.Image
And then in your sub:
About.Attributes.Add("height", 15)
About.Attributes.Add("width", 130)
Or whatever the values are for the height and width
 
Back
Top