Supabase - Create a signed URL for an asset with transformations

Hey community and WeWeb Team!

I successfully managed to get a signedURL from Supabase with a few lines of code with Javascript. Now I would like to extend the request with a transform request. Supabase also provides the appropriate code here. However, when I extend my code with it, I only get the same signedURL with the same image (not formatted to the desired dimensions). What am I doing wrong?

My Javascript Code:

Supabase Code (Link):

Looking at the doc, I don’t see the third parameter, I think this feature is a new one introduced in the SDK v2, we run the v1 for now, we plan to update it this year.

3 Likes

I was wondering just the same. Thanks @Alexis

thx a lot! Is there a workaround for now to save traffic requesting images from supabase?

+1 to allow for supabase transformations. I will also need this shortly to service smaller size images

1 Like