Image height/width values
Moderator: General Moderators
-
Bennettman
- Forum Contributor
- Posts: 130
- Joined: Sat Jun 15, 2002 3:58 pm
Image height/width values
How can you set variables to the height and width (in pixels) of a specified image?
-
Bennettman
- Forum Contributor
- Posts: 130
- Joined: Sat Jun 15, 2002 3:58 pm
You specify the URL of an image, and set a variable as either the height or the width of that image... something like:
From the sounds of your reply, it doesn't look as though it's possible without major work.
Code: Select all
$height = $IMAGE_HEIGHT("http://www.site.com/image.gif");- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
-
Bennettman
- Forum Contributor
- Posts: 130
- Joined: Sat Jun 15, 2002 3:58 pm