Not sure about 1.1. This applies to 1.0. Attachment images overflow using stock code. Not to worry, there is a proposed solution.
Adding img styling to custom.css makes the image fit the width but image proportions are lost. Huh? Oh yeah, there is a hard coded style tag. In /themes/default/Display.template.php, on line 864 find:
<img src="' . $attachment['href'] . ';image" alt="" style="width:' . $attachment['width'] . 'px; height:' . $attachment['height'] . 'px;"/>';
and replace with:
<img src="' . $attachment['href'] . ';image" alt="" />';
Finally, drop this into custom.css:
img
{
max-width: 95%;
height: auto;
}
Now it all works. At least it's a hack. Perhaps real devs could review this solution? Or create a better one? Thanks for watching!