Modified HasImages to fix single one image display