Setting max size for event images on main screen and detail screen