forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: _dopehead_ on May 12, 2004, 12:54:53 pm

Title: Disabling img thumb and table in the bulk thumbnail feature ?
Post by: _dopehead_ on May 12, 2004, 12:54:53 pm
Hi There

I have some rather large dirs with many pictures in them and when i use the bulk thumbnailing it takes forever just to display the page with the small thumbs where i can select where to upload them to. Is there any way i could disable this so that it just shows me the list of album/categories and not like 3000 small thumbs ?

Jan
Title: Re: Disabling img thumb and table in the bulk thumbnail feature ?
Post by: Joachim Müller on May 12, 2004, 01:41:01 pm
not tested: in searchnew.php, find
Code: [Select]
                $img ='<img src="'.path2url($picname).'" '.$thumb_size['geom'].' class="thumbnail" border="0">';
        } else {
                $img ='<img src="showthumb.php?picfile='.$pic_url.'&size=48" class="thumbnail" border="0">';
        }
and replace it with
Code: [Select]
                $img ='<!--<img src="'.path2url($picname).'" '.$thumb_size['geom'].' class="thumbnail" border="0">-->';
        } else {
                $img ='<!--<img src="showthumb.php?picfile='.$pic_url.'&size=48" class="thumbnail" border="0">-->';
        }
I'm not sure this will help at all though...

GauGau
Title: Re: Disabling img thumb and table in the bulk thumbnail feature ?
Post by: _dopehead_ on May 12, 2004, 05:43:11 pm
That actually worked, although it is still creating this monster table set with alle the filenames in it, but no thumbnails. Does the script somehow need this table information for the form upload when i press the button in the bottom of the page ?

Jan
Title: Re: Disabling img thumb and table in the bulk thumbnail feature ?
Post by: Joachim Müller on May 14, 2004, 08:10:19 am
it's recommended you don't cure the symptoms, but the cause: don't upload such large amounts of files into one single folder. Instead, create sub-folders and only ftp-upload as many pics in each sub-folder as you can possibly add in one go.

GauGau