I made a small file upload plugin that is integrated with tinymce, but when I add images to tinymce they do not respect the div. How can I fix this? I saw that tinymce adds fixed pixel sizes, it would be cool if it added the images with style max-width and max-height but I do not know where to change the html code it generates.