Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > VBScript
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 10th, 2003, 01:45 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Default Image Sizing Question

Is there a way when you load in a picture that you can know how big the picture is? For example if I had this:

Code:
<IMG SRC='picname.jpg' BORDER=1>
and when you right click the image in windows explorer and click properties and see that the image is actually 200 pixels wide by 300 pixels tall that I could read in the values of 200 and 300 while it is loading to maybe resize it on demand?

Basically I could have a graphic load in that is 300 wide by 200 tall or one that is 200 wide and 300 tall. In the box it shows in, I want to be able to tell this so on one there can be white space on the side and the other the white space would be on the top and bottom.

Chris
__________________
Chris
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Question RE Image pop ups Nostromo77 ASP.NET 2.0 Basics 0 December 10th, 2006 07:31 PM
IMAGE SIZING glisando Dreamweaver (all versions) 0 January 2nd, 2006 12:11 AM
Fireworks Question: Change image colour crmpicco Dreamweaver (all versions) 0 October 5th, 2005 06:41 AM
Image Sizing and Format Changes igor Access VBA 2 December 20th, 2004 04:16 AM
Image sizing/zooming in/out in VB mike123abc Pro VB 6 1 May 6th, 2004 12:06 PM



All times are GMT -4. The time now is 03:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.