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

adding photos

Location:
trip-planner/src/main/resources/templates
Files:
2 edited

Legend:

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

    rceaed42 r59329aa  
    2727              <span th:text="${loc.getCity().getName()}"/>
    2828            </td>
    29             <!--  <td><img th:src="*{'data:image/jpeg;base64,'+ imgUtil.getImgData(loc.getPhoto())}" alt="" /></td> -->
     29             <td><img th:src="*{'data:image/jpeg;base64,'+ imgUtil.getImgData(loc.getPhoto())}" alt="" /></td>
    3030
    3131            <td>
  • 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.