[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Using ASPImage to get image dimensions

Posted on 2003-12-10
6
Medium Priority
?
343 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
4 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 800 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

872 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