Solved

Using ASPImage to get image dimensions

Posted on 2003-12-10
6
337 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

726 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