Skip to content

Commit

Permalink
Set max image size on challenge logo upload page
Browse files Browse the repository at this point in the history
Issue #1174
  • Loading branch information
jpschewe committed Apr 9, 2024
1 parent 3a2da61 commit 59fd03a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/main/web/admin/manage-user-images.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#challenge_logo_image {
max-width: 700px;
max-height: 150px;
}
4 changes: 3 additions & 1 deletion src/main/web/admin/manage-user-images.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ fll.web.Welcome.populateContext(pageContext);
<link rel="stylesheet" type="text/css"
href="<c:url value='/welcome.css'/>" />

<link rel="stylesheet" type="text/css" href="manage-user-images.css" />

<title>Manage Images</title>

</head>
Expand Down Expand Up @@ -98,7 +100,7 @@ fll.web.Welcome.populateContext(pageContext);
<table class="center">
<tr>
<td>
<img
<img id="challenge_logo_image"
src="<c:url value='/${challenge_logo}'/>?${uuid}" />
</td>
</tr>
Expand Down

0 comments on commit 59fd03a

Please sign in to comment.