|
Posted by robert on 05/15/06 19:46
| Try inserting the following where you want the picture to be display:
|
|
| <?php
| $image = ; // image location and filename
| $name = ; // name of person
|
| $size=getimagesize($image); // set the dimensions of image
| ?>
|
| <img src="<?php echo $image; ?>" alt="<?php echo $name;?>" <?php echo
| $size[3]; ?>">
<op ignore, plz.>
oh martin! again with the helpful advice. by default, MOST browsers display
an image with it's normal size...so your "advice" is STILL less than useful.
one typically specifies size when one wants to control the size either
larger/smaller than the original. in this context, the op is most likely
going to want to have the images display uniformly...namely, a specific
height/width ratio with a max limit.
either learn to give more helpful advice or, if you simply lack the capacity
thereof, don't advise at all.
Navigation:
[Reply to this message]
|