Solved

Using ASPImage to get image dimensions

Posted on 2003-12-10
6
325 Views
Last Modified: 2008-02-01
Hello,

ASPImage is available on my server.  If possible, I'd like to use it to get the dimensions (w x h) of an image that already exists on the server.  Can you please provide the code.  If this is not possible, can you suggest another way to get the dimensions of an image that exists on the server.

Thanks!
0
Comment
Question by:ftbadolato
  • 3
6 Comments
 
LVL 33

Expert Comment

by:hongjun
ID: 9913241
To get dimension, you can do this simply using javascript.
    alert(document.images["image_name"].width);

hongjun
0
 

Author Comment

by:ftbadolato
ID: 9913247
Nevermind...figured it out.
0
 
LVL 33

Accepted Solution

by:
hongjun earned 200 total points
ID: 9913276
check out documentation
http://www.serverobjects.com/comp/Aspimage.htm

hongjun
0
 
LVL 33

Expert Comment

by:hongjun
ID: 9913327
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now