When using the php libraryOfficial
When using the php client library, my pngs files are uploaded via createOnTask(). However, there is no preview and I cannot view the file in the browser. Instead it downloads the image. THis is not a browser issue as other images uploaded in asana work as expected.
I don’t know how to implement the content-type properly I think… I thought I was to specify “image/png”, but that did not work. Again, I can download it from the task after uploading via api, but I cannot preview and it does not show up on task card when it’s the first image.