$height) { $percentage = ($target / $width); } else { $percentage = ($target / $height); } //gets the new value and applies the percentage, then rounds the value $width = round($width * $percentage); $height = round($height * $percentage); //returns the new sizes in html image tag format...this is so you //can plug this function inside an image tag and just get the return "width=\"$width\" height=\"$height\""; } ?>
240 ) { ?>
>
Members Can Save Recruits Save Recruit to U-Watch Recruit Saved in U-Watch |
Other Interested Schools: n/a
|
|||||||||||||||
|