Hi all.
I would like to change the resize main form so that instead of the three standard personal resize it can only show a personal resize name with a personal description appended to file name when selected.
Right now there are the three standard sizes, small, medium and large and when used the new file is called oldname_(size).ext
I have tried to remove those three sizes and add a new size, but they did not disappeared from the window.
I have managed to change the size of the large resize, but I'd rather get my personal style.
I've tried to change the name everywhere, even the translation does not seem to work (my ckfinder is setted to be italian.
So far I have played with plugin.php, plugin.js, config php (removing the three entries for resize) and lang/it.js (if I could get the large renamed this could be ok too, if only I could append a personal part of name.
I hope this makes some sense, thanks for any suggestion.
Lila
I would like to change the resize main form so that instead of the three standard personal resize it can only show a personal resize name with a personal description appended to file name when selected.
Right now there are the three standard sizes, small, medium and large and when used the new file is called oldname_(size).ext
I have tried to remove those three sizes and add a new size, but they did not disappeared from the window.
I have managed to change the size of the large resize, but I'd rather get my personal style.
I've tried to change the name everywhere, even the translation does not seem to work (my ckfinder is setted to be italian.
So far I have played with plugin.php, plugin.js, config php (removing the three entries for resize) and lang/it.js (if I could get the large renamed this could be ok too, if only I could append a personal part of name.
I hope this makes some sense, thanks for any suggestion.
Lila

Re: Setting cuctom value to imageresize plugin
to change size of default sizes of plugin please look at bottom of config.php file.
There is
ig you change these entries/sizes it should change sizes in dialog window of imageresize plugin.
This is for CKFinder 2.1 (latest version).
Hope this helps.
Re: Setting cuctom value to imageresize plugin
Re: Setting custom value to imageresize plugin
maybe in imageresize\plugin.php change
to
in this way you will always get a filename ended with '_custom'.
By changing
to
you will always get thumbnail size at (100x100) .
In this way you always get file name ended by '_custom' with size (100x100) regardless what thumbnail size your students choose.
Re: Setting custom value to imageresize plugin
Re: Setting custom value to imageresize plugin
In case of CKFinder for PHP, do the following:
This way only "small" size will be available.
Of course the default value 90x90 might be changed to anything else.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Setting custom value to imageresize plugin