i'm trying to display some pictures on my "website" In order to do so, i'm using Vitch. I did the upload without issues, images are updating into the right folder, but nothing is display when i'm trying to get imgs from my view.
There is my Yaml config file
vich_uploader:
db_driver: orm
mappings:
property_image:
uri_prefix: /images/properties
upload_destination: '%kernel.project_dir%/public/images/properties'
namer: Vich\UploaderBundle\Naming\UniqidNamer
And there is my view
<div class="card mb-4">
<div class="card-body">
{% if property.filename %}
<img src="/images/properties/{{ property.filename }}">
{% endif %}
<h5 class="card-title">
<a href="{{ path('property.show', {slug: property.slug, id: property.id}) }}">
{{ property.title }}
</a>
</h5>
<p class="card-text">{{ property.surface }} m³ - {{ property.city }} ({{ property.postalCode }})</p>
<div class="text-primary" style="font-size:2rem; font-weigth:bold;">
{{ property.FormatedPrice }} €
</div>
</div>
Thanks for your help