Page 1 of 1

thumbnail generation

Posted: Mon Jul 25, 2005 6:18 pm
by kardinal
Hello forum,

is it possible to deactivate the auto thumbnail generation?
I use individual thumbs with different sizes and thus the the regular thumbs are needless to me.

thx

Re: thumbnail generation

Posted: Wed Aug 24, 2005 5:40 pm
by palmstrom
If you find annoying thumb_ files in image directory, you can set special directory for thumbnails in
lib/filemanager/ImageManager/config.inc.php variable thumbnail_dir.

Or if you really want to disable thumbnail generation comment in lib/filemanager/ImageManager/thumbs.php (version 2004-03-31) lines 33,34,42. It'll then look like this:

Code: Select all

//Not an image, send default thumbnail
//if(!is_array($imgInfo))
//{
        //show the default image, otherwise we quit!
        $default = $manager->getDefaultThumb();
        if($default)
        {
                header('Location: '.$default);
                exit();
//        }
}