Fetch URL overlay fails on some gifs

Lotus
Lotus Member Posts: 5
edited December 2023 in Developer APIs

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