Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Big photos are big

  • Loading branch information...
commit ec7a13bfde2421aebc160f786e17d8be1a36dbe3 1 parent 9dd1cf4
Tom MacWright authored
Showing with 8 additions and 3 deletions.
  1. +1 −1  detail.html
  2. +0 −2  index.html
  3. +7 −0 style.css
2  detail.html
View
@@ -42,7 +42,7 @@
</head>
<body>
<div class='wrapper'>
- <div id='photos'>
+ <div id='photo'>
<img src='' id='photo-img' />
</div>
<div class='facets'>
2  index.html
View
@@ -89,8 +89,6 @@
.sort(function(b, a) {
return (a && b) && a.created_time - b.created_time;
})
- .attr('width', 307)
- .attr('height', 307)
.attr('src', function(d) { return 'data/' + d.id + '_low.jpg'; })
.attr('title', function(d) { return d.caption && d.caption.text; })
.on('click', function(d) {
7 style.css
View
@@ -34,6 +34,13 @@ ul {
height:153px;
margin:1px;
}
+
+/* 306x306 */
+#photo img {
+ width:612px;
+ height:612px;
+ margin:1px;
+}
.facets {
position:fixed;
right:0px;
Please sign in to comment.
Something went wrong with that request. Please try again.