Handle image sending in chat, share and socialize