I think it is small loop issue
<div class="row"> {% for name in volunteer_name %} <div class="col-md-4 col-sm-6"> <div class="team-wrapper"> <div class="team-img"> <img src="{{ name.img.url }}" class="img-responsive" alt="Image"> </div><!-- /.team-img --> <div class="team-title"> <h3><a href="#">{{ name.name }}</a></h3> </div><!-- /.team-title --> </div><!-- /.team-wrapper --> {% endfor %} </div><!-- /.col-md-4 --> </div><!-- /.row -->
and context should be
context = {"volunteer_name": volunteer_name}
Fixed it already with this plus the <img src="{{ volunteer.image.url }}" class="img-responsive" alt="Image"> Now the image doesn't show
<img src="{{ volunteer.image.url }}" class="img-responsive" alt="Image">
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think it is small loop issue
and context should be
Fixed it already with this plus the
<img src="{{ volunteer.image.url }}" class="img-responsive" alt="Image">
Now the image doesn't show