'How to set default size to photos in ckeditor container

So i am using ckeditor in my django project and i want to set the default size to the photos that i drag and drop into the ckeditor container because currently the photos are too big and it looks ugly. I would like them to be fixed 400px and not their original size.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source