Image Height and Width values

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Image Height and Width values

    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 Guest

  2. Similar Questions and Discussions

    1. how to get stream width and height?
      hello; is there a way to get a streams width and heigh so that I can dynamically change the size of the video object? thanks dsdsdsdsd Chicago
    2. jump menu + cfgrid image width height problems
      2nd day and no answer of anyone, please help! Just to simple questions: 1. HOw could I build a cfselect jump menu, since JavaScript does not work...
    3. getting image width/height before uploading
      Hello, Q: How do I get image width and height before uploading an image? This because, I want to restrict people uploading huge files. ...
    4. Obtaining Width and Height for an Image
      I am having a problem here. I have an ASP page which displays different images according to the querystring and the images are all of different...
    5. Image Width and Height in Code View
      OK, at long last I've made the leap from Homesite to Dreamweaver MX. In the main, everything is just fine and most of the time I feel like I'm still...
  3. #2

    Default Re: Image Height and Width values

    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:unYEMoUQDHA.2176@TK2MSFTNGP12.phx.gbl...
    > 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 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139