Allow uploading images (#13)

Adds an optional field for the post image.

Fixes #12

Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/13
Reviewed-by: Bastien OLLIER <bastien.ollier@noreply.codefirst.iut.uca.fr>
This commit is contained in:
2024-06-12 09:05:30 +02:00
parent 8859cd0000
commit 6a6a135891
11 changed files with 280 additions and 2 deletions

View File

@@ -343,5 +343,17 @@
},
"twig/extra-bundle": {
"version": "v3.10.0"
},
"vich/uploader-bundle": {
"version": "2.3",
"recipe": {
"repo": "github.com/symfony/recipes-contrib",
"branch": "main",
"version": "1.13",
"ref": "1b3064c2f6b255c2bc2f56461aaeb76b11e07e36"
},
"files": [
"config/packages/vich_uploader.yaml"
]
}
}