Ignore:
Timestamp:
11/23/21 14:58:44 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
e29cc2e
Parents:
ceaed42
Message:

adding photos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner/src/main/resources/templates/trip-locations.html

    rceaed42 r59329aa  
    5858            <td th:text="${loc.getName()}" ></td>
    5959            <td th:text="${loc.getId()}"  ></td>
    60         <!--    <td><img th:src="*{'data:image/jpeg;base64,'+ imgUtil.getImgData(loc.getPhoto())}" alt="" /></td> -->
     60        <td><img th:src="*{'data:image/jpeg;base64,'+ imgUtil.getImgData(loc.getPhoto())}" alt="" /></td>
    6161            <td class="selectedLocation">
    6262              <a th:href="@{'/create/trip/locations/{id}' (id=${loc.getId()})}" class="btn btn-primary " >Add to planner</a>
Note: See TracChangeset for help on using the changeset viewer.