filmov
tv
How to resize images on the fly with Supabase - SupabaseTips
Показать описание
Supabase storage supports image resizing on the fly. You can request a resized version of the image by adding the transform options on your getPublicUrl(), createSignedUrl(), and download() methods. Specify the width and height of the image you want to request and set the resize mode. There are three types of resize modes, cover, contain, and fill. Cover is the default value and it crops the image to fit the specified frame. Contain shrinks the image while keeping the aspect ratio. Fill will stretch the image to fill up the specified frame.
You can read more about the image resizing feature here.
Currently image resizing feature is available on Pro plan and above.
Learn more about Supabase 👇
You can read more about the image resizing feature here.
Currently image resizing feature is available on Pro plan and above.
Learn more about Supabase 👇