Hi,
I tried to increase the max thumbnail size from 100 to 140 px by setting, in config.php,
The thumbs are created with the correct size, but they are not displayed correctly in a grid anymore. The reason is found in ckfinder_gecko.js and ckfinder_ie.js, where the thumbnail size (100x100 px) is hard-coded in:
and also in ckfinder.css:
Changing these values from 100 to 140 worked fine for me.
I tried to increase the max thumbnail size from 100 to 140 px by setting, in config.php,
$config['Thumbnails'] = Array( 'maxWidth' => 140, 'maxHeight' => 140, ...
The thumbs are created with the correct size, but they are not displayed correctly in a grid anymore. The reason is found in ckfinder_gecko.js and ckfinder_ie.js, where the thumbnail size (100x100 px) is hard-coded in:
<div _ckffileid="'+i+'" class="FCKThumb" onmouseover="OnMouseOver(this);" onmouseout="OnMouseOut(this);"><table border="0" cellpadding="0" cellspacing="0" width="100" height="100">
and also in ckfinder.css:
div.FCKFileName, div.FCKFileDate, div.FCKFileSize { width: 100px; text-align: center; }
Changing these values from 100 to 140 worked fine for me.
Re: Bug with increasing thumbnail size
I think it could be a browser cache issue and css rules are not a problem here.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Bug with increasing thumbnail size
Note that the thumb images show up automaticly in the correct size (140x140), but the cells containing the images are still 100x100. In some browsers, the cells may adjust to fit the images, but if the image is 140x140, but the label cell is 100px wide (css in my last post), the label will not be centered. And in general, the result is quite unpredictable.
Re: Bug with increasing thumbnail size
I have the same problem - I've changed config, thumbnails are generated in proper size but in finder they are still displayed as 100x100px. I would appreciate any help.
Thanks,
Wiktor
PS. I tried to clear browser cache as well as completely different browser.
Re: Bug with increasing thumbnail size
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Bug with increasing thumbnail size
Yes, I did - as I wrote - thumbs are generated properly, but they are displayed as backgrounds of DIV's that are 100x100px.
Re: Bug with increasing thumbnail size
Ooops you're definitely right. There's something wrong, not sure how could I miss it
We'll gonna check this and fix in the next release.
Thank you for reporting it!
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+