Actually, I think he got it right. He didn't supply pastable code, but the
hint is spot on. when you come to place the link on the page, open the file
yourself (in server code, I mean; not you personally) using the class
indicated, then find out the information you want and output to your page an
additional piece of text with this information. The net result will be a
link followed by the text showing the dimentions.
"Rajesh" <bhagarathi.rajesh@tenth-planet.com> wrote in message
news:%23RjmBaPHGHA.528@TK2MSFTNGP12.phx.gbl...[color=blue]
> Dan,
> You are getting it wrong . Did you see the image link i gave??
> or say you click this link
>
http://www.google.com/logos/Logo_25wht.gif
> The width and hieght should be displayed below that image
>
>
>
> "Dan" <dvazanias@aol.com> wrote in message
> news:ucbH6TPHGHA.2040@TK2MSFTNGP14.phx.gbl...[color=green]
>> So the question is.
>>
>> How do you display the width/height dimensions of an image?
>>
>> Wouldnt that be easier, but maybe this is due to a language barrier so i
>> apologise if that is the reason.
>>
>> Use System.Drawing.Image class. Load your image in and then retrieve the
>> width/height attributes.
>>
>> --
>> Dan
>> "Rajesh" <bhagarathi.rajesh@tenth-planet.com> wrote in message
>> news:ewOfANPHGHA.208@tk2msftngp13.phx.gbl...[color=darkred]
>> > Alright , Say we have this image link
>> >[/color][/color]
>
http://www.theserverside.net/article...rovider/Creati[color=green][color=darkred]
>> > ngProfileProvider.gif
>> > What do you see? Just an image right?.
>> > In my situation the image is in the form of a binary file inside sql
>> > server
>> > database.Now i retreive and display say 10 images.When i click an image[/color][/color]
> it[color=green][color=darkred]
>> > goes to another page that displays the image say like the link i showed[/color][/color]
> u[color=green][color=darkred]
>> > above.Now under this image i want to a text to be displayed showing me[/color][/color]
> the[color=green][color=darkred]
>> > width and size of the image.
>> > Still not clear?
>> >
>> >
>> >
>> > "Dan" <dvazanias@aol.com> wrote in message
>> > news:uClKNCPHGHA.140@TK2MSFTNGP12.phx.gbl...
>> >> "i want the width and size of the image to be displayed at the bottom[/color][/color]
> of[color=green][color=darkred]
>> > the
>> >> image ..."
>> >>
>> >> "...the resulting page will display only the image"
>> >>
>> >> Please explain? What is it you are asking?
>> >>
>> >> --
>> >> Dan
>> >> "Rajesh" <bhagarathi.rajesh@tenth-planet.com> wrote in message
>> >> news:eYeHr7OHGHA.1332@TK2MSFTNGP10.phx.gbl...
>> >> > Hi all,
>> >> >
>> >> > Im gonna display a list of images in an aspx page from sql server
>> > Db.Each
>> >> > image has a link.When someone clicks the image i want the width and
>> >> > size
>> >> > of
>> >> > the image to be displayed at the bottom of the image without any[/color][/color]
> coding[color=green][color=darkred]
>> > at
>> >> > code-behind because the resulting page will display only the image.
>> >> >
>> >> > Rajesh
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >[/color]
>>
>>[/color]
>
>[/color]