使用ckfinder选择或上传图像后,用户可以更改宽度和高度.我希望它自动将图像调整为用户设置的宽度和高度.那可能吗?
我认为ajax图像缩放器会解决这个问题但无法使其工作.有人有自动宽度和高度调整插件的经验吗?
在我的ckfinder配置文件中,我得到了:
include_once "plugins/imageresize/plugin.php";
Run Code Online (Sandbox Code Playgroud)
在config.js我有:
CKFinder.customConfig = function( config )
{
config.extraPlugins = 'imageresize';
};
Run Code Online (Sandbox Code Playgroud)