Get image width/height #11822
Unanswered
kasper9n
asked this question in
Feature Requests
Replies: 1 comment 5 replies
|
There is a metadata column in the storage.objects table that contains the size metadata of the file. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'd like to get the image width/height of files in Supabase Storage.
In my case, I'm storing image URLs in my database, and would like to do a migration to also store the image dimensions. It would be great to fill in them server-side, but I believe that would require downloading all the images and using some npm package to get the image dimensions. It would be great to have a more simpler way.
All reactions