Skip to content

Commit

Permalink
scale thumbnails by css
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdga committed Jun 12, 2011
1 parent 2b6b3b3 commit e3a9385
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fileupload/static/thumbnail-scaling.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
table.files td.preview img {
height: 50px;
}
1 change: 1 addition & 0 deletions fileupload/templates/fileupload/picture_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css" id="theme">
<link rel="stylesheet" href="{{ STATIC_URL }}jquery.fileupload-ui.css">
<link rel="stylesheet" href="{{ STATIC_URL }}style.css">
<link rel="stylesheet" href="{{ STATIC_URL }}thumbnail-scaling.css">
</head>
<body>
<div id="fileupload">
Expand Down

0 comments on commit e3a9385

Please sign in to comment.