Disabling img thumb and table in the bulk thumbnail feature ? Disabling img thumb and table in the bulk thumbnail feature ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Disabling img thumb and table in the bulk thumbnail feature ?

Started by _dopehead_, May 12, 2004, 12:54:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

_dopehead_

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

Joachim Müller

not tested: in searchnew.php, find                $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                $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

_dopehead_

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

Joachim Müller

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