Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 10th, 2003, 01:45 PM
Friend of Wrox
 
Join Date: Jun 2003
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





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





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