move is_image method from view to model.
ftw.activity integration: dispaly preview image in activity stream.