setting max width and height for images on list item