Image Height and Width values

Discussion in 'ASP .Net' started by Blake Versiga, Jul 3, 2003.

  1. 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
    Blake Versiga, Jul 3, 2003
    #1
    1. Advertising

  2. Blake Versiga

    Showjumper Guest

    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
    "Blake Versiga" <.> wrote in message
    news:...
    > 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
    >
    >
    Showjumper, Jul 3, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AndrewF
    Replies:
    1
    Views:
    744
    Bruce Barker
    Oct 10, 2005
  2. Sean Jorden
    Replies:
    1
    Views:
    586
    laurie
    Aug 19, 2003
  3. Lois
    Replies:
    1
    Views:
    3,194
    Ryan Stewart
    Dec 27, 2004
  4. cera
    Replies:
    1
    Views:
    1,248
    Neredbojias
    Aug 18, 2007
  5. Bernd Meier
    Replies:
    6
    Views:
    502
    GTalbot
    Jan 14, 2008
Loading...

Share This Page