Hmm, well... The problem with max-width: 100% in this situation is that you can click the item to view it at max width, like the 'resized' feature usually does. (But this, IIRC, only triggers if you set a hardcoded width on the img tag.)
Maybe an overflow: auto..?
Posted: October 9th, 2012, 05:37 PM
Ouch, that's complicated...
overflow: auto works when applied to a container div (which we can insert automatically.) But it then means that you can't show multiple img tags next to each other...
Something tells me it's going to be a matter of compromise.