質問

in a php page, I have implemented the famous tinymce, and I have been using this plugin (http://justboil.me/) for uploading images. For example, if you load a picture with width 1024 this will be printed in the textarea width with 1024. How do I auto-resize the image to 600px?

役に立ちましたか?

解決

I just had the same problem. It worked for me after I set the

$config['max_width'] = 600;

AND also

$config['max_height'] = 600;

in the config.php file

Note: You have to set both values to get the resize working. Even if you dont need to set the height, if one of the values is set to 0, nothing will be resized.

I found this information here.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top