Help for this page

Select Code to Download


  1. 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.");
        }
    
  2. or download this
    $imgparams{THREED} = $image_x > $gallerycfg{'3DWIDTH'} ? 1 : 0;
  3. or download this
    unless (exists $imgparams{THREED}){
        &writelog ("Error blah blah $Absolute_URL.",1);
        &dieerr("The image blah blah inconvenience.");
    }
    
  4. 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.");
    }