File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ private void WriteImage(Stream ms)
85
85
}
86
86
}
87
87
88
- [ AddHeader ( ContentType = "image/jpg " ) ]
88
+ [ AddHeader ( ContentType = "image/png " ) ]
89
89
public object Get ( Resize request )
90
90
{
91
91
var imagePath = UploadsDir . CombineWith ( request . Id + ".png" ) ;
Original file line number Diff line number Diff line change 11
11
font-size : 13px ;
12
12
padding : 0 10px ;
13
13
}
14
+ a {
15
+ color : # 205AAF ;
16
+ text-decoration : none;
17
+ }
14
18
td {
15
19
vertical-align : top;
16
20
text-align : left;
54
58
</ head >
55
59
< body >
56
60
< 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 > |
59
63
< a href ="http://stuckincustoms.smugmug.com/ "> photography</ a >
60
64
< a href ="http://www.servicestack.net "> < img src ="http://mythz.servicestack.net/favicon.png " title ="ServiceStack " height ="16 " align ="absmiddle " /> </ a >
61
65
</ p >
62
66
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 >
63
68
< h1 > Image Resizer</ h1 >
64
69
65
70
< table > < tr >
You can’t perform that action at this time.
0 commit comments