vichuploaderbundle Questions

5

Solved

This assert is passing Symfony's form validation when uploading any file with VichUploaderBundle: /** * @Vich\UploadableField(mapping="product_media", fileNameProperty="path") * @Assert\File( *...
Comte asked 1/12, 2015 at 11:33

1

Solved

I hope you can help me because i'm searching and i'm lost :( I'm trying to upload image in my symfony 6 project with VichUploaderBundle. I used the doc : https://github.com/dustin10/VichUploaderBun...
Anthroposophy asked 31/3, 2022 at 15:39

6

Solved

I've been trying to use VichUploader to upload files on a Symfony project, already using EasyAdmin 3. I've configured everything correctly, but I'm getting this error: The "pieceJointeFile&qu...
Pleading asked 8/12, 2020 at 16:46

2

Solved

Hi is there a way to rename uploaded file using VichUploaderBundle? If I upload two image with same name it will remove the old one and it's a problem for me. I have configuration exactly the same...
Sousaphone asked 4/8, 2015 at 9:50

4

Solved

How can I upload file with VichUploaderBundle without form? I have file in some directory (for example web/media/tmp/temp_file.jpg) If I try this: $file = new UploadedFile($path, $filename); $i...
Fredra asked 4/8, 2015 at 14:36

2

Solved

I'm trying to upload files with Api Platform and Vich Uploader Bundle. When I send POST request with multipart/form-data and Id of the entity to attach image file to, I get 200 response with my ent...
Assumptive asked 15/7, 2020 at 15:48

4

I am using VichUploader to upload files within a symfony project. In configuration i use (copied from documentation): service: vich_uploader.namer_property options: { property: 'slug'} In my ent...
Surfboat asked 2/3, 2016 at 14:26

2

Solved

In symfony, I have an entity Program, which has the attribute image. Uploading images, naming them and putting them in the right directory is done with the VichUploaderBundle. The entity looks like...
Kookaburra asked 12/3, 2019 at 14:32

1

I'm trying to implement a file upload with API PLatform following the Documentation using Vich. But it's not working, precisely, the MediaObject is not hydrated by the file I send on my request. I...
Pucka asked 18/11, 2018 at 12:44

1

Solved

config.yml vich_uploader: db_driver: orm mappings: media_image: uri_prefix: '%uploads_dir%' upload_destination: '%kernel.root_dir%/../web/uploads/images' namer: Vich\UploaderBundle\Naming\Or...
Venial asked 25/1, 2018 at 11:13

1

Solved

I followed the instruction: https://github.com/dustin10/VichUploaderBundle/blob/master/Resources/doc/usage.md to the letter but I'm getting the following error while saving User entity: Expected a...
Vinery asked 26/6, 2016 at 16:59

1

I'm trying to upload an image using angular and vichUploaderBundle for symfony. The idea is the following, I have some tabs, if you click on them they'll display different forms, one of them is f...
Germanic asked 16/3, 2015 at 17:29
1

© 2022 - 2024 — McMap. All rights reserved.