Format = 1.423092886:1 if ( $winW / $winH >= 1.423092886 ) { $imageW = round($winH * 1.423092886); $imageH = $winH; } else { $imageW = $winW; $imageH = round($winW / 1.423092886); $imageW = $imageW - 16; // Required to suppress Scrollbars when Window is higher than wide } $imageH = $imageH - 16; // Required to suppress Scrollbars (Firefox = -12) ?>
Your browser doesn't support Flash!