Back

API Variable for max preview size ?

  • 0
  • Self Hosted
  • Storage
ajnart
17 Jul, 2024, 13:03

I'm working on a photography hosting platform and really need to be able to process assets larger than 10 Mb for previews The docs (https://appwrite.io/docs/references/cloud/server-nodejs/storage#getFilePreview) say

Preview is supported only for image files smaller than 10MB

Is it possible to overwrite this with an ENV variable or do I need to like build a separate NextJS / Function to create a preview on the fly and call it then ? Thanks in advance

TL;DR
Developers are trying to increase the maximum file size for image previews on a photography hosting platform beyond the default 10MB limit set by Appwrite. The solution proposed is to create a separate NextJS/Function to handle larger file previews on the fly.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more