Image sizing

How do I control the width of image when I click on and enlarge them? Currently, they are breaking out of the main content area.![enter image description here](upload://6I6PuuEmauXO02up6hgyYXrei26.jpeg)


The easiest way would be to add some css to limit the width to the content area's width.