oscklmO
Convex Community3y ago
2 replies
oscklm

displaying an image by the _storage id

Is it possible to display an image just using the _storage id ?

For now i've just done it by getting the url using ctx.storage.getUrl() and passing that along with the queried data, and then exporting a type like DataWithThumbnail and using that in the frontend.

Just wondering, if there is a reason to why i wouldn't just get the image with the storage id in the front end, which is already stored on the object.
Was this page helpful?