Inserting images and preventing the layout from breaking
Image styles are built into Drupal 7. You can define image styles to have a particular size, by either cropping, scaling, or some combination of the two. Drupal 7 also supports scaling only down but not up.

If you want to do this in Drupal 6, you do it by installing the Imagecache module and configuring your styles with that.