Allow uploading images
This commit is contained in:
1 parent
8859cd0000
commit
361c4fd0a3
11 files changed
+280
-2
No files matched your search
@@ -0,0 +1,11 @@
|
||||
vich_uploader:
|
||||
db_driver: orm
|
||||
|
||||
metadata:
|
||||
type: attribute
|
||||
|
||||
mappings:
|
||||
posts:
|
||||
uri_prefix: /images/posts
|
||||
upload_destination: '%kernel.project_dir%/public/images/posts'
|
||||
namer: Vich\UploaderBundle\Naming\SmartUniqueNamer
|
||||
Reference in new issue
Block a user