I’m using the rich text format plugin to allow my users to submit long texts, and I want to allow them to use images in the text as well. Everything works well; the image is stored in a text field in the database, and I can present it from there in a text field.
The problem is, the image becomes huge (full original pixel count). I have set the text field as 450 pixels wide with the highest width at 120%. How can I make the image scale accordingly, so that its height will be adjusted according to the max width being the text fields max width?