client/app/books/book.html
changeset 81 ef4d8ed6eef2
parent 76 aa0a2d37faca
child 91 f7a844a9079e
--- a/client/app/books/book.html	Wed Apr 08 16:55:19 2015 +0200
+++ b/client/app/books/book.html	Wed Apr 08 17:00:43 2015 +0200
@@ -3,7 +3,7 @@
 <ul ui-sortable="sortableOptions" ng:model="slides" class="list-unstyled list-inline gallery container">
   <li class="col-md-3 item" ng-repeat="i in slides">
     <div class="img-ctn">
-        <img class="img img-responsive image" ng-src="{{ i.details.image }}" />
+        <img class="img img-responsive image" ng-src="{{ i.details.images[0] }}" />
         <p>{{ i.details.title }}</p>
         <div class="gallery-buttons">
           <a class="btn btn-default" href="#/slide/{{ i.id }}"><span class="glyphicon glyphicon-pencil"></span></a>