- or download this
$imgparams{THREED}=5;
if ($image_x>$gallerycfg{'3DWIDTH'}){$imgparams{THREED}=1;
}else{$imgparams{THREED}=0;}
...
&writelog ("Error blah blah $Absolute_URL.",1);
&dieerr("The image blah blah inconvenience.");
}
- or download this
$imgparams{THREED} = $image_x > $gallerycfg{'3DWIDTH'} ? 1 : 0; - or download this
unless (exists $imgparams{THREED}){
&writelog ("Error blah blah $Absolute_URL.",1);
&dieerr("The image blah blah inconvenience.");
}
- or download this
my ($image_x, $image_y);
unless(($image_x,$image_y) = $image->Ping($Absolute_URL)) {
&writelog ("Error blah blah $Absolute_URL.",1);
&dieerr("The image blah blah inconvenience.");
}