Comments (2)
Storing images in MongoDB is not recommended by Mongo. I would say this is something that we are unlikely to address, especially since Payload has dedicated upload functionality that can be leveraged.
from payload.
Storing images in MongoDB is not recommended by Mongo. I would say this is something that we are unlikely to address, especially since Payload has dedicated upload functionality that can be leveraged.
I am currently working on a project involving an image similarity search engine. In this project, each image undergoes processing through the SIFT algorithm to obtain its descriptor, represented as an array. Subsequently, the descriptor is converted into a base64 string. The reason behind this conversion is to streamline the storage process in MongoDB, as directly storing the descriptor without conversion results in significantly increased storage requirements. Essentially, this descriptor serves as a compact representation of the image. The actual images are stored in a Cloudinary Content Delivery Network (CDN), while MongoDB stores only the corresponding Cloudinary URL along with the converted string that represents the image. The image search algorithm operates by taking an image descriptor and seeking matches within the database's embeddings. To clarify, the images themselves are hosted on the CDN rather than in MongoDB; MongoDB solely manages the storage of the image embeddings, which are lengthy strings. Please reconsider this issue, as it does not have any connection to image uploading. The problem likely occurs when the CMS tries to display a very, very long string.
from payload.
Related Issues (20)
- error /home/node/app/node_modules/payload/node_modules/sharp: Command failed HOT 2
- Dockerfile optimization and issues
- Publishing not working / changes reverted when using bulk edit / publish tools in CMS
- Context not being passed from `beforeDelete` to `afterDelete` collection hooks.
- [3.0 Beta] Having a `data` folder in root breaks build HOT 7
- [3.0] SyntaxError when generating types HOT 4
- Nested Docs URL conflicts when using same slug with different parents HOT 4
- [BUG] Nested groups in nested blocks
- afterChange hook runs before data is persisted to the database ? HOT 3
- Race condition causing documents to disappear from CMS
- Payload-Lexical: link tooltip pops up on selecting a decorator node HOT 2
- Payload-Lexical: link tooltip pops up on selecting a decorator node
- [3.0] JSON Field crashes if no default value provided HOT 2
- [3.0 CLI] Mongodb used when Postgres is selected HOT 4
- HTTP POST request to /api throw "Error: Unexpected end of form" at Multipart._final HOT 2
- Relationship filter not adding items to dropdown after making request for next page
- Incorrectly typed/exported CellComponentProps?
- Postgres Adapter: there is no parameter $1 HOT 5
- table names changed updating from 2.11.2 to 2.13.0 HOT 2
- Overflow on smaller screens in the top nav
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from payload.