I am using a 3rd party API to obtain avatar/profile images of leads based on their email address. The API returns images URLs such as:
https://media.licdn.com/dms/image/C5603AQFeBfmbPtvgZw/profile-displayphoto-shrink_400_400/0?e=1663200000&v=beta&t=XAtjTp1epfgnccfjFpW86DGwW027R3bz8-bQ7QtU2qs (Asana adds as a non-image file with filename of
https://avatar.skype.com/v1/avatars/meramolly8961/public?size=l (Asana adds as a non-image file with filename of
https://lh3.googleusercontent.com/a-/AOh14GhM6eK99o75K32m0Jf6qyWg5IyFhEM_z4M-wu0Ywtk (Asana adds as proper image file with filename of
The trouble is, Asana isn’t recognizing some of those URLs as actual images. So when I attach the file (currently via Zapier), it doesn’t show any preview/thumbnail.
Is there a way to tell Asana that the image is a certain file format so that it can render it properly? For each of those URLs, a normal browser is able to recognize them as an image, displays the image, and allows for right-click to save the image. Yet, Asana doesn’t attach it as a true image (except for the Google one, which it does correctly).
I’m not sure if I could somehow make use of “Rich Text” to add it as a comment with
<img> tags somehow (though, I think that still relies on using the attachment API).
Or if there’s a way to use the existing “Upload an attachment” API method (which I assume is what Zapier uses), whilst first informing Asana of a specific MIME type.