coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: richt44 on February 09, 2005, 02:13:23 AM

Title: searchnew.php? fullimagesize
Post by: richt44 on February 09, 2005, 02:13:23 AM
Hi,

My Apache error log is filling up with 'PHP Notice:  Undefined variable:  fullimagesimagesize in ../searchnew.php on line 137.'
In searchnew.php-
if (filesize($picname) && is_readable($picname)) {
       //$fullimagesize = getimagesize($picname); COMMENTED OUT FOR VIDEO SUPPORT
       $winsizeX = ($fullimagesize[0] + 16);
       $winsizeY = ($fullimagesize[1] + 16);

Seems that it has been commented out. Should I uncomment it? Otherwise, where else is it defined?
Just downloaded and installed latest version.

Thanks.