I have just purchased a copy of CKFinder and it has an annoying bug
When you adjust the height and width after uploading an image it appears like this in the CKeditor html source:
When we post the page the style tag is lost and the picture appears in it's original size - 1600x1200
When I manually edit the html src to look like this:
The width and height tags are preserved after the POST and the picture appears in its correct resized state.
It's possible that this is not the fault of Ckedit but rather the style sheet that we have in the application
However - I would be happy to work around the issue by having CKFinder use the HTML HEIGHT and WIDTH parameters instead of STYLE= " "
I think this is a better solution overall since it avoids conflicts with the site CSS.
Danny Lieberman
When you adjust the height and width after uploading an image it appears like this in the CKeditor html source:
<p> <img alt="" src="/dropbox/3/images/IMG_0625.JPG" style="width: 251px; height: 188px; " /> </p>
When we post the page the style tag is lost and the picture appears in it's original size - 1600x1200
When I manually edit the html src to look like this:
<p> <img alt="" src="/dropbox/3/images/IMG_0625.JPG" width="251px" height="188px" /> </p>
The width and height tags are preserved after the POST and the picture appears in its correct resized state.
It's possible that this is not the fault of Ckedit but rather the style sheet that we have in the application
However - I would be happy to work around the issue by having CKFinder use the HTML HEIGHT and WIDTH parameters instead of STYLE= " "
I think this is a better solution overall since it avoids conflicts with the site CSS.
Danny Lieberman
Re: CKFINDER and STYLE="Height: WIdth: "
Any chance that this is the same problem as in viewtopic.php?f=6&t=22464 ?
Re: CKFINDER and STYLE="Height: WIdth: "
Re: CKFINDER and STYLE="Height: WIdth: "
i have same problem
Re: CKFINDER and STYLE="Height: WIdth: "
are you using version 2.1 ?
Aaminah
-----------------------------------
Re: CKFINDER and STYLE="Height: WIdth: "
Once you mess up with CSS and you are in problem upto a great extent.
@Aaminah I think version does not matter and it was the problem with style.
Thanks