check image size (width)

Discussion in 'ASP General' started by Øyvind Isaksen, Feb 22, 2005.

  1. 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
    Øyvind Isaksen, Feb 22, 2005
    #1
    1. Advertising

  2. Øyvind Isaksen

    Mark Schupp Guest

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

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

    "Øyvind Isaksen" <> wrote in message
    news:...
    > 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, Feb 23, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AndrewF
    Replies:
    1
    Views:
    762
    Bruce Barker
    Oct 10, 2005
  2. Sean Jorden
    Replies:
    1
    Views:
    591
    laurie
    Aug 19, 2003
  3. Replies:
    1
    Views:
    736
    Beauregard T. Shagnasty
    Dec 29, 2007
  4. Replies:
    1
    Views:
    1,526
  5. RMZ
    Replies:
    2
    Views:
    185
    David Mark
    Aug 2, 2007
Loading...

Share This Page