Upload image attachment via Api

Hi, How can i upload an image attachment to so this one shows preview for Asana task, now it is showing just an icon.
Thnx.

Can you share a screenshot of what you are referring to as icon?