Check image height and width

Discussion in 'ASP General' started by Shawn, Apr 26, 2005.

  1. Shawn

    Shawn Guest

    Hi,
    I have a page where users can upload images, but sometimes the images are
    too small. How can get the height and width (in pixels) for an image? I've
    seen it done in PHP but never in ASP.

    Thanks,
    Shawn
     
    Shawn, Apr 26, 2005
    #1
    1. Advertisements

  2. Hi,

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

    Ray at work

    "Shawn" <> wrote in message
    news:...
    > Hi,
    > I have a page where users can upload images, but sometimes the images are
    > too small. How can get the height and width (in pixels) for an image?

    I've
    > seen it done in PHP but never in ASP.
    >
    > Thanks,
    > Shawn
    >
    >
     
    Ray Costanzo [MVP], Apr 26, 2005
    #2
    1. Advertisements

  3. Shawn

    Bullschmidt Guest

    <<
    I have a page where users can upload images, but sometimes the images
    are too small. How can get the height and width (in pixels) for an
    image? I've seen it done in PHP but never in ASP.
    >>


    Determining Image Properties through ASP by Mike Shaffer - 5/3/2000
    http://www.4guysfromrolla.com/webtech/050300-1.shtml

    AndyDvorak.net - Tutorials - Resizing Images
    http://www.andydvorak.net/site/tuts/tut.asp?cat=asp&tut=resize

    Best regards,
    J. Paul Schmidt, Freelance ASP Web Developer
    http://www.Bullschmidt.com
    ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


    *** Sent via Developersdex http://www.developersdex.com ***
     
    Bullschmidt, Apr 26, 2005
    #3
    1. Advertisements

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. Blake Versiga

    Image Height and Width values

    Blake Versiga, Jul 3, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    421
    Showjumper
    Jul 3, 2003
  2. =?Utf-8?B?TGFzZXIgTHU=?=

    How to get the width and height of a image by its given URL?

    =?Utf-8?B?TGFzZXIgTHU=?=, Jun 1, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,023
    Scott Allen
    Jun 1, 2004
  3. Irishmaninusa

    determining an image file height and width

    Irishmaninusa, Jul 16, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    497
    Irishmaninusa
    Jul 16, 2004
  4. AndrewF
    Replies:
    1
    Views:
    1,052
    Bruce Barker
    Oct 10, 2005
  5. Sean Jorden
    Replies:
    1
    Views:
    762
    laurie
    Aug 19, 2003
  6. Lois
    Replies:
    1
    Views:
    4,178
    Ryan Stewart
    Dec 27, 2004
  7. cera
    Replies:
    1
    Views:
    1,665
    Neredbojias
    Aug 18, 2007
  8. Bernd Meier
    Replies:
    6
    Views:
    719
    GTalbot
    Jan 14, 2008
Loading...