Every time when I open the ckfinder file manager or when a photo is
loading, the other structure of the folder _thumbs in the folder _
thumbs - which contains all the thumbnails so far done, is created.
It´s going to neverending tree of the folders _thumbs with the same
thumbnails in every of these subfolders.
Please let me know, where I can set up it.
My config.php now is:
loading, the other structure of the folder _thumbs in the folder _
thumbs - which contains all the thumbnails so far done, is created.
It´s going to neverending tree of the folders _thumbs with the same
thumbnails in every of these subfolders.
Please let me know, where I can set up it.
My config.php now is:
$baseUrl = '/userfiles/'; $baseDir = resolveUrl($baseUrl); $config['Thumbnails'] = Array( 'url' => $baseUrl . 'images/_thumbs', 'directory' => $baseDir . 'images/_thumbs', 'enabled' => true, 'maxWidth' => 0, 'maxHeight' => 120, 'quality' => 80);

Re: Folder "_thumbs" chaining
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Folder "_thumbs" chaining
thank you for your answer. I´ve tryed this way, but the folder _thumb is creating direct in the data directory "userfiles". It´s not visible in the CKfinder browser. That´s way the thumbnails are not available to put to the articles..
Leoš
Re: Folder "_thumbs" chaining
1. Add _thumbs to the list of hidden folders:
$config['HideFolders'] = Array(".svn", "CVS", "_thumbs");2. Configure CKFinder to store thumbnails in the _thumbs directory:
3. Create another resource type named "Thumbs" and point it to the path defined above.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Folder "_thumbs" chaining
I achieved only 2 different ends (by variety of solving):
a) $config['HideFolders'] = Array(".svn", "CVS", "_thumbs");
- it will forbid the folder´s recursive creation, but I can´t work with it, because I can´t see it.
b) $config['HideFolders'] = Array(".svn", "CVS", );
- I can see the thumbs, I can work with it, but when I reload the CKfinder the new subfolders creates.
Re: Folder "_thumbs" chaining
You should pick thumbnails from the Thumbs resource type.
If it still can't get it to work, please attach your config file (remove any sensitive data first) and I will tell you what exactly you have to change.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Folder "_thumbs" chaining
Attachments:
Re: Folder "_thumbs" chaining
(delete the recursively created folders with thumbnails and try this setting)
However, this approach has one drawback: it will allow you to select thumbails created for the "Images" resource type only.
Anyway, this is something that could be improved in the future version of CKFinder.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Folder "_thumbs" chaining
The problem stays that the dialog is displayed InsertImage still only Images.
As visibility Thumbnails here?
Re: Folder "_thumbs" chaining
I didn't want to create a new post as the problem discussed here is exactly what i'm experiencing. I'm using ckfinder 1.2.3 and i've followed the suggestions in this thread and managed to stop the sub-folders chaining. However the thumbnails are being duplicated in a folder called 'Thumbnails' (the name of the new resource type). Is there a way to avoid this duplication?
Other things:
1. I'm using the .net version
2. I've tried to programmatically delete the Thumbnails folder but it gets re-created everytime
Thumbnails.Url = BaseUrl + "thumbs/";
Thumbnails.Dir = "";
Thumbnails.Enabled = true;
Thumbnails.MaxWidth = 100;
Thumbnails.MaxHeight = 100;
Thumbnails.Quality = 80;
type = ResourceType.Add( "Thumbnails" );
type.Url = BaseUrl + "thumbs/images/";
type.Dir = BaseDir == "" ? "" : BaseDir + "thumbs/images/";
type.MaxSize = 0;
type.AllowedExtensions = new string[] { "bmp", "gif", "jpeg", "jpg", "png" };
type.DeniedExtensions = new string[] { };
In my thumbs folder, i have an images folder which contains the thumbnails (great!) but i also have a Thumbnails folder with exactly the same content as images (not so great!).
Any suggestions wiktor?
Re: Folder "_thumbs" chaining
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Folder "_thumbs" chaining
documentation
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Folder "_thumbs" chaining
http://docs.fckeditor.net/CKFinder/SelectFunction
Re: Folder "_thumbs" chaining
http://www.ckfinder.com/whatsnew
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Folder "_thumbs" chaining
Ok, so fully doing what was stated in this post has definately done something... thanks!