For Programmers: Free Programming Magazines  


Home > Archive > ASP > February 2005 > check image size (width)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author check image size (width)
Øyvind Isaksen

2005-02-22, 8:55 pm

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


Mark Schupp

2005-02-22, 8:55 pm

http://www.aspfaq.com/show.asp?id=2170

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

"Øyvind Isaksen" <oyvind@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
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com