Skip to content

Commit ec83fc0

Browse files
committed
Tweak UI
1 parent cc62112 commit ec83fc0

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

ImageResizer/Global.asax.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private void WriteImage(Stream ms)
8585
}
8686
}
8787

88-
[AddHeader(ContentType = "image/jpg")]
88+
[AddHeader(ContentType = "image/png")]
8989
public object Get(Resize request)
9090
{
9191
var imagePath = UploadsDir.CombineWith(request.Id + ".png");

ImageResizer/default.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
font-size: 13px;
1212
padding: 0 10px;
1313
}
14+
a {
15+
color: #205AAF;
16+
text-decoration: none;
17+
}
1418
td {
1519
vertical-align: top;
1620
text-align: left;
@@ -54,12 +58,13 @@
5458
</head>
5559
<body>
5660
<p class="links">
57-
<a href="https://github.com/ServiceStack/ServiceStack.UseCases/blob/master/ImageResizer/Global.asax.cs">1 Page C#</a> /
58-
<a href="https://github.com/ServiceStack/ServiceStack.UseCases/blob/master/ImageResizer/default.html">1 HTML</a> /
61+
<a href="https://github.com/ServiceStack/ServiceStack.UseCases/blob/master/ImageResizer/Global.asax.cs">1 page c#</a> |
62+
<a href="https://github.com/ServiceStack/ServiceStack.UseCases/blob/master/ImageResizer/default.html">1 html</a> |
5963
<a href="http://stuckincustoms.smugmug.com/">photography</a>
6064
<a href="http://www.servicestack.net"><img src="http://mythz.servicestack.net/favicon.png" title="ServiceStack" height="16" align="absmiddle" /></a>
6165
</p>
6266

67+
<a href="http://www.servicestack.net"><img src="http://mythz.servicestack.net/favicon.png" title="ServiceStack" style="float:left;height:30px;margin: 0 5px 0 0;" /></a>
6368
<h1>Image Resizer</h1>
6469

6570
<table><tr>

0 commit comments

Comments
 (0)