Home All Groups Group Topic Archive Search About

check image size (width)



Author
22 Feb 2005 9:43 PM
Øyvind Isaksen
Hello!

How can I use ASP to check the size of the images used in my solution?

This is what I need to do:
If the width of an image is more than 256px, I want to set the image width
to 256px. Images that is smaller (ex: 100px width) shall not be adjusted.


Thanks for all tips!!!!

Regards,
Øyvind Isaksen

Author
23 Feb 2005 12:04 AM
Mark Schupp
http://www.aspfaq.com/show.asp?id=2170

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

Show quote
"Øyvind Isaksen" <oyv***@webressurs.no> wrote in message
news:etraReSGFHA.548@TK2MSFTNGP14.phx.gbl...
> Hello!
>
> How can I use ASP to check the size of the images used in my solution?
>
> This is what I need to do:
> If the width of an image is more than 256px, I want to set the image width
> to 256px. Images that is smaller (ex: 100px width) shall not be adjusted.
>
>
> Thanks for all tips!!!!
>
> Regards,
> Øyvind Isaksen
>
>

AddThis Social Bookmark Button