Fetch URL overlay fails on some gifs
Exactly as the question title states, I'm having difficulty with certain gifs simply refusing to embed. I'm using the URL method to produce transformations using f_auto
(print "https://res.cloudinary.com/yh-server-banners-competition/image/fetch/r_max/h_150,w_150/f_auto/u_banners:default-banner/fl_layer_apply,x_275/l_text:Nosifer_33:Welcome%20To%20Server%20Username!,co_white,g_east,x_200,y_50,w_550,c_fit/fl_layer_apply,g_west,x_250/" $avatar )}}
$avatar is the link to the user's avatar. The ones that fail to embed are .webp or .gif formats, but it's not consistent. for example, https://cdn.discordapp.com/avatars/915125602472849448/a_bc8397a09527ebce4029151d0bf212a0.gif does work in embeds properly.
https://cdn.discordapp.com/avatars/909788982320189460/a_7388f775b57d8b3b95443225221c5581.gif this one did not.
I'm completely confused to why this is happening, so all help is greatly appreciated
Answers
-
Hi there,
I have checked the logs for your account and I didn't get an error that was registered on our side.
I also tried the 2 links for fetching and it works fine.
Could you please share what is the exact behavior when it fails?
What is the error or the behavior?
Regards,
Wissam
0 -
It's intended to be used as the image argument for a discord embed. When it fails it simply doesnt display any image, leaving just the text. I can't reproduce the error, and printing it seems to work without error. I'm lost
0 -
Hi there,
Thank you for your input.
I would suggest trying to reproduce it, but this time be ready to collect the HAR file.
To see exactly what network requests are being made by your browser and see if there are any failed requests, could you please provide us with a HAR file? This article explains the process and provides detailed instructions for Chrome, Firefox, Safari, Edge and Internet Explorer.
If you're using a different browser to any of these, please let us know and we'll guide you through the process of creating a HAR file.
In addition, once it happens you can send a screenshot as well.
Looking forward to your reply.
Regards,
Wissam
0 -
Hi @Lotus,
Both URLs work for me when they are delivered as GIFs and WebP:
Can you please share the error you see?
Looking forward to your response,
Tamara
0