Function getMaxSpaceContainer
Called by ***MaxSpace functions to compute the parameters to be passed to xxCustomyyy functions.
integer |
& $width |
maxspace width |
integer |
& $height |
maxspace height |
object |
$image |
the image in question |
boolean |
$thumb = false |
true if for a thumbnail |