Thread
:
Getting an image's width and height
View Single Post
Jul 13th, 2005, 12:50 PM
#
6
Ooble
I eat cake for breakfast.
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power:
9
$size[3] will contain a HTMLified version:
width="640" height="480"
or something. You can use it as follows:
(
Toggle Plain Text
)
<img src="images/image.png" <?= $size[3] ?> alt="" />
<img src="images/image.png" <?= $size[3] ?> alt="" />
__________________
Me
::
You
::
Them
Ooble
View Public Profile
Visit Ooble's homepage!
Find More Posts by Ooble