Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,633
Community Members
 
Community Events
165
Community Groups

Unable to preview attached image

Edited

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 Apr 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
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,336 views 28 40
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you