I'm trying to work as much server-side rendered (SSR) NextJS application as possible, along with appwrite as backend. I've managed to create image upload for users, but now I'm strugling how to properly view/fetch images for users.
I've created both abstracted session clients for client-usage and server-usage. I found from documentation that you're able to get appwrite storage image link with WEB appwrite-package with storage.getFilePreview-method. Thou NextJS <Image> component can't really handle that, and after all, they both do kind of same job (image optimization).
I wounder if I should just fallback to use regular <img>-tag for my images and make all images client component, which retrieves image URL with appwrite-WEB-SDK, or is there some more convient way to fetch images from storage, to use NextJS <Image> component?
Recommended threads
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- Appwrite for Education
I am writing to report an issue with my account limits. I currently have the GitHub Student Developer Pack active, which should include 10 Appwrite Pro projects...
- How to stop my project from being frozen...
So we encountered an error in production because our appwrite project had been frozen due to inactivity. Is there any way of automating checking in and activity