Looking for some assistance resizing or restricting image wrap width

My users have become keen to embedding images in forum posts, unfortunately from external websites as it is too complex for them to embed images they've added to their D7 accounts, but that's neither here nor there. 

I run into a problem where any time someone posts a picture of 998px or wider, it causes the forum post wrapping to extend beyond what the users can see. IE - any text entered above or below the photo will extend beyond the table boundaries and disappear. 

I'm looking for a way to resize embedded images to a max of 800x600, it would be preferred if tinymce set this restriction when they tried to embed. 

Alternatively, I've been thinking it might be possible to run a sql statement against the forum tables, looking for the embed string and reducing anything over 1024 to 800 (not sure how this could be done dynamically and keep everything in ration though). Since it is a minor inconvenience for the wrap to be messed up temporarily, I'd have no problem scheduling a cron job nightly (ie, its something that can wait). 

Finally - is there a CSS trick to let the image extend beyond the cell boundaries but still restrict the text? This is only a bandaid, as I really dislike oversized images.

 

Anyone run across this on their site yet? Thoughts/solutions?

 

Skype: shawn.nelson
Quote · 30 May 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.