D
D
Dmitry Tsirulnikov2015-09-20 21:53:26
MongoDB
Dmitry Tsirulnikov, 2015-09-20 21:53:26

Flask Mongoengine ImageField how to use?

I can not find how to properly display images from ImageField, can anyone tell me?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Tsirulnikov, 2015-09-21
@LegGnom

Found the answer ImageGridFsProxy(uid, collection_name="images"), excavations led to a bug (and maybe a feature) of mongoengine. ImageGridFsProxy refers to the fs collection without explicitly specifying the collection, but images should be

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question