added option to turn off image-hover
Set max width on image if image is wider than max width