Skip to content

Commit

Permalink
Feat/63 프로필 유무에 따라 image optimizer 사용하게 만들기 (#67)
Browse files Browse the repository at this point in the history
* feat: picture detail 페이지 모달 구현 #63

* feat: header 유저 프로필 사진 리사이징 by image optimizer #63
  • Loading branch information
bongsh0112 authored Sep 26, 2023
1 parent 2bb163a commit d76bc7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Api/src/main/resources/templates/fragment/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
<path d="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"/>
</svg>
<img th:if="${session.loginUser.profile != null}"
th:src="${session.loginUser.profile}" alt="User Profile"/>
<img th:if="${session.loginUser.profile != null}"
th:src="'http://xgrnsxldyejc19608959.cdn.ntruss.com' + ${session.loginUser.profile} + '?type=f&w=80&h=80&quality=90&align=4&faceopt=false'"
alt="User Profile"/>
</div>
</a>
<ul class="dropdown-menu">
Expand Down

0 comments on commit d76bc7f

Please sign in to comment.