[Answer]-Image is not showing up in Django Template but found the image path

1👍

Your image tag need not have {{MEDIA_ROOT}}, update the tag as

<img src="{{ image.photo.url }}" alt="{{ image.title }}" />

The image_field.url provides absolute path. Refer point 3 at File field storage

👤Rohan

Leave a comment