hi,
Currently ckfinder generated thumbs are in subfolder "images" in "_thumbs" folder.
Is there any way to generate thumbnails in main folder "images" and not in another subfolder.
Where we could find settings for this ?
Thanks
Currently ckfinder generated thumbs are in subfolder "images" in "_thumbs" folder.
Is there any way to generate thumbnails in main folder "images" and not in another subfolder.
Where we could find settings for this ?
Thanks
Re: Change thumbs destination folder
quite easily, just open you config.php (or your language extension...) and look for
$config['Thumbnails'] = Array(
'url' => $baseUrl . '_thumbs',
'directory' => $baseDir . '_thumbs',
'enabled' => true,
'directAccess' => false,
'maxWidth' => 100,
'maxHeight' => 100,
'bmpSupported' => false,
'quality' => 80);
and change 'url' and 'directory' with the directory you want.
if you just want the thums to go in the main folder
'url' => $baseUrl',
'directory' => $baseDir ,
will make the job
Have swing
Re: Change thumbs destination folder
I knew , how to change thumbnails main folder what I don't know is that how to change subfolders that ckfinder create.
Ckfinder creathe thumbnail in three subfolders "Files/Images/Flash" as
..path to userfile/_thumb/Images
..path to userfile/_thumb/Files
..path to userfile/_thumb/Flash
I want to change these subfolders default value. i.e. I want to save images thumbs to
..path to userfile/_thumb/anthing else
I also changed following line but it does not work
type = ResourceType.Add( "Images" );
type.Url = BaseUrl + "photothumbs/";
type.Dir = BaseDir == "" ? "" : BaseDir + "photothumbs/";
Regards,
Re: Change thumbs destination folder
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Change thumbs destination folder
If I change i.e. "Files" name (type = ResourceType.Add( "Files" );)
then it will change the title of main folders in ckfinder folder view.
Regards,
Re: Change thumbs destination folder
hi rob,
well, actually, i think that if tou just erase the .'thumbs' in the directory and url vars, according to the fact that the main files (img, files and Flash) go into baseUrl/images, baseUrl/files and so on, so will the thumbs
images thumbs will go into baseUrl/images and so on, sounds like what you're looking for or am i missing something ?
Have swing