Commit b1f0f041 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

urls to media files now load

parent c82dc071
......@@ -156,8 +156,8 @@ SRCT Bookshare • {{ listing.title }}
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="text-center">
<a href="/media/{{ listing.photo }}">
<img src="/media/{{ listing.photo }}"
<a href="{{ listing.photo.url }}">
<img src="{{ listing.photo.url }}"
alt="User submitted textbook photo" class="img-thumbnail" />
</a>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment