Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to preview attached image

Wei Wang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 4, 2022

Hello,

I am unable to preview the attached image (jpeg) on some of the cards created using Trello API on 2022-04-04 from around 18:00 to 20:00 (UTC). The attached image are shown as a grey box with the word "Link" and the full url of the original image on the right hand side of the box. By clicking the url, I can see the original image.

The attachement is added by sending the url of the image using the following api after the card is created:
https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post


I tried to reproduce the problem after 20:00 on 2022-04-04 with the same procedure, the attached image was uploaded successfully. I am able to see the preview and use the image as the cover of the card.

Could anyone help me figure out what cause the preview not working? Any help would be greatly appreciated. Thank you.

1 answer

1 accepted

1 vote
Answer accepted
Ryan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 12, 2022

Hi there,

We don't have similar reports of this, so it may have been a short glitch or could be related to something else. One thing that comes to mind, is the behaviour that you experienced happens for non-picture file formats, so it could be that somehow your attachment wasn't detected as a JPEG file. Would you be able to check the filetype by using this endpoint: https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-idattachment-get

Thanks,
Ryan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events