thumbnail generation

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
kardinal

thumbnail generation

Post 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
palmstrom

Re: thumbnail generation

Post 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();
//        }
}
Locked

Return to “CMSMS Core”