Issue
After reading the CKFinder documentation the maxWidth & maxHeight directives are present in the config file to automatically resize uploaded images whenever a particular image is bigger then specified in these directives.
It seems files which are smaller are enlarged to the size specified in the maxWidth & maxHeight directives,
Example i upload a file which is 380x260 pixels, after uploading it is resized to 1600x1200 pixels (using the default config)
Conclusion:
It seems to me the maxWidth & maxHeight are present to automatically resize images which are bigger, not the ones who are smaller, right?
Anyway, a summing this is a bug...how to fix this?
Usage Specs:
CKFinder 1.1 ASP integrated into FCKEditor 2.5.1
Windows Server 2003 R2,
.Net: 1.x, 2.x & 3.x installed
Thanks in advance,
RvdH
After reading the CKFinder documentation the maxWidth & maxHeight directives are present in the config file to automatically resize uploaded images whenever a particular image is bigger then specified in these directives.
It seems files which are smaller are enlarged to the size specified in the maxWidth & maxHeight directives,
Example i upload a file which is 380x260 pixels, after uploading it is resized to 1600x1200 pixels (using the default config)
Set Images = server.CreateObject("Scripting.Dictionary") Images.Add "maxWidth", 1600 Images.Add "maxHeight", 1200 Images.Add "quality", 80 Images.Add "component", "Auto"
Conclusion:
It seems to me the maxWidth & maxHeight are present to automatically resize images which are bigger, not the ones who are smaller, right?
Anyway, a summing this is a bug...how to fix this?
Usage Specs:
CKFinder 1.1 ASP integrated into FCKEditor 2.5.1
Windows Server 2003 R2,
.Net: 1.x, 2.x & 3.x installed
Thanks in advance,
RvdH
Re: CKFinder 1.1 ASP maxWidth & maxHeight bug
Could you try to change the to to be sure that nothing else is being used?
If it fails, then change CKFinder_Debug to true so it might give some extra info.
Re: CKFinder 1.1 ASP maxWidth & maxHeight bug
After uploading a image i get a popup message "undefined" (Image is uploaded, but no thumbnail is created, shows question mark instead)
Do i have to worry about "loopback.dll", i can not find that file.
Could it be .NET v3.0 is interfering?
If i enable debug mode, it only says something like "XML OK response 200", I am unable to upload images in debug mode.
RvdH
Re: CKFinder 1.1 ASP maxWidth & maxHeight bug
Ok, i nailed down the issue
Just installing the DOT.NET framework is not enough, on Windows Server 2003, you explicitly have to Allow ASP.NET v1.x and/or ASP.NET v2.x in the "Web Service Extensions" screen in order to make this work (this is prohibited by default)
You might wanna add this in the documentation for a new version.
BTW, nice tool and great add-on for FCKEditor
Re: CKFinder 1.1 ASP maxWidth & maxHeight bug
You can try to switch the server to Asp.Net 2 or go to core\connector\asp\loopback.aspx line 193 and replace
with
Re: CKFinder 1.1 ASP maxWidth & maxHeight bug
No my server is not using DOT.NET 3.x, Anyway the issue is solved, see my previous message
Re: CKFinder 1.1 ASP maxWidth & maxHeight bug