Setting max-width for images being added?

Is it possible to make some sort of control that checks if a user is trying to add an image with a width of more than 500px? I have a section with a blog, and if the user adds an image using the “Insert image from file”-button it cannot have a width of more than 500px! Or the “entire” page structure fails (to the right there is a “menu”-section with links to archived posted entries from passed months which is pushed down underneath the newly posted blog entries, if the image is wider than 500px). Is it possible to control this anyhow? I really don’t trust that users will read and follow instructions if that’s the only thing I’ll do. This check should only be activated at this section of the homepage. Any suggestions?
Mar 25, 2008 18:35
You could use CSS to force maxwidth. In your template add a div with id="imagemaxwidth" div#imagemaxwidth img { max-width: 500px; }
Mar 25, 2008 18:46
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.