Image dimensoions

  • Thread starter Thread starter Lars Pedersen
  • Start date Start date
L

Lars Pedersen

Hi there!

Is it possible to get the values of an image in an image servercontrol.
Remeber its not the size of the control, but of the image that has been
loaded in the image control.

thanks in advance

-Lars
 
Hi Lars,

Well all you have to set in the asp.Image control is the ImageUrl ,
therefore you cannot know the size by that mean, in fact that image can be
generated dinamically

Cheers,
 
Hi Ignacio,

Well, in fact I am adding an Image using the ImageUrl property, and the
Image size is generated dynamically.
But if you imagine, in the browser you rightclik, and select properties, You
can see the dimension of the viewed image. So i wonder if it could be
possible to catch the image size at runtime. Maybe I'm wrong..

-Lars
 
Back
Top