Spadver Posted August 23, 2003 Share Posted August 23, 2003 I use v 1.4 And if I get in admin SMALL IMAGE WIDTH 0 I've got error, when trying create PDF Catalog Warning: getimagesize(ru): failed to open stream: No such file or directory in /pub/home/****/ms1/admin/pdf_catalogue.php on line 370 And if I get in admin SMALL IMAGE HEIGHT 0 I've got error, when trying create PDF Catalog Warning: getimagesize(ru): failed to open stream: No such file or directory in /pub/home/****/ms1/admin/pdf_catalogue.php on line 360 Here is some code from pdf_catalog.php //If only Small Image Width is defined else if(strlen($data_array[0])>1 && strlen($data_array[1])) { $heightwidth=getimagesize($data_array[11]); // line 360 $data_array[0]=$data_array[0]; $data_array[1]=$heightwidth[1]*PDF_TO_MM_FACTOR; $this->ShowImage($data_array[0],$data_array[1],$link,$data_array[12]); $y1=$this->GetY(); } //If only Small Image Height is defined else if(strlen($data_array[0]) && strlen($data_array[1])>1) { $heightwidth=getimagesize($data_array[11]); // line 370 $data_array[0]=$width=$heightwidth[0]*PDF_TO_MM_FACTOR; $data_array[1]=$data_array[1]; $this->ShowImage($data_array[0],$data_array[1],$link,$data_array[12]); $y1=$this->GetY(); } And my langusge is not English! (Russian, id=4) But if SMALL IMAGE WIDTH = SMALL IMAGE HEIGHT = 100 everything is OK. Any ideas? Thank's in advance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.