Storage
Last updated
Last updated
Storage Data Types allow for the storage of various BLOBs (Binary Large OBjects). This allows the upload of images, videos, and attachments of different file types.
Xano does not store the actual files in the Database for performance reasons. Instead, Xano stores a reference to the file for quick retrieval.
How to use the uploader in the database spreadsheet to add content:
After clicking into the cell, the ability to upload will appear.
2. After uploading an image, a thumbnail will appear.
3. You can click on the image to see a full-screen magnified view, where you can download the image.
4. To delete the image: click on the cell and press the delete key.
Xano has an engine that can dynamically re-size images in real-time so you don't have to store multiple sizes.
There is a special function that appears in the column dropdown called Bulk Upload, you can use this function to add images to multiple records at once. This will create additional records for each of the additional images.
When retrieving the storage Data Types from the Database there is different metadata for each type. This is the information that is returned from the API response.
Image Metadata:
JSON Data Format:
Video Metadata:
JSON Data Format:
Attachment Metadata:
JSON Data Format: