How to hide current image URL class-based view Django

I'm using class-based view and i have problem hiding my current image location in my page. here is my

card_image = models.ImageField(
        upload_to="buildings/main", null=True, verbose_name="Main picture"

and this is my building.html

{% csrf_token %}
   {% for field in form %}
      <div class="col-5">
         {{ field.label_tag }}
      <div class="col-5">
         {{ field }}
      {% endfor %}
      <img width="200vm" src="/media/{{ form.card_image.value }}"/>

and this is the image of what I'm trying to hide(

I had some research but all of them were changing the template {{image.url.value}} but I don't want to write anything outside my for loop

Back to Top