Answer the question
In order to leave comments, you need to log in
How to make vich_uploader and liip_imagine friends so they can find each other?
vich_uploader is for uploading and it can store in a specific directory structure like year/month/day liip_imagine is for image processing. But he needs a path to the picture.
For the first one, you need to write a DirectoryNamer. And then how can everyone else look for downloaded files?
Answer the question
In order to leave comments, you need to log in
moved the namer to its own class. included it in DirectoryNamer for vich_uploader. you may also need to write a loader for liip_imagine and include the same class there as well. then I use it for hateoas, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question