$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\""; } ?>
» If you did login then your session must have expired. Simply login again above.
» View membership options below:
Posted:
» Videos require the latest Windows Medis Player
» Click Here for the direct link to access the video. You may be able to download the video, depending on the software you have installed.
Posted:
» Videos require the latest Windows Medis Player
» Click Here for the direct link to access the video. You may be able to download the video, depending on the software you have installed.
Posted:
|
||||