« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: getimagesize(/kunder/bjaarstadsmykker.com/www/assets/galleries/16/tn_gifteringer_gult_og_hvitt_gull_diamant.jpg) [function.getimagesize]: failed to open stream: Permission denied 
  Error type/ Nr.: Warning - 2 
  File: /kunder/bjaarstadsmykker.com/www/assets/snippets/maxigallery/maxigallery.php 
  Line: 1047 
  Line 1047 source: $imagesize=getimagesize($modx->config['base_path'].$mg->path_to_gal."tn_".$pics[$i]['filename']);  
 
Parser timing
  MySQL: 0.0722 s(7 Requests)
  PHP: 0.0942 s 
  Total: 0.1664 s