You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
961 B
25 lines
961 B
vich_uploader:
|
|
db_driver: orm
|
|
twig: true # set to false to disable twig integration
|
|
form: true # set to false to disable form integration
|
|
storage: file_system # or gaufrette or flysystem
|
|
metadata:
|
|
auto_detection: true
|
|
cache: file
|
|
#mappings:
|
|
# products:
|
|
# uri_prefix: /images/products
|
|
# upload_destination: '%kernel.project_dir%/public/images/products'
|
|
mappings:
|
|
uploadavatar:
|
|
uri_prefix: /uploads/images/avatars
|
|
upload_destination: '%kernel.project_dir%/public/uploads/images/avatars'
|
|
inject_on_load: true
|
|
delete_on_update: true
|
|
delete_on_remove: true
|
|
upload:
|
|
uri_prefix: /uploads/images/news
|
|
upload_destination: '%kernel.project_dir%/public/uploads/images/news'
|
|
inject_on_load: true
|
|
delete_on_update: true
|
|
delete_on_remove: true
|