Permalink
Browse files

lowercase, added thesis, tourist, updated others

  • Loading branch information...
1 parent 1de612b commit d8ac2d2d47c882f6310c4f005acc0194fc00e1e4 Thom Mahoney committed Mar 4, 2013
Showing with 9 additions and 7 deletions.
  1. +2 −2 app/assets/javascripts/image_viewer.js
  2. +7 −5 db/seeds.rb
View
4 app/assets/javascripts/image_viewer.js
@@ -28,14 +28,14 @@ ImageViewer.prototype.init = function() {
};
ImageViewer.prototype.baseImageUrl = function(index) {
- return "https://s3.amazonaws.com/erinrademacher.com/" + this.prefix + "_" + index;
+ return "https://s3.amazonaws.com/erinrademacher.com/new/" + this.prefix + "_" + index;
}
ImageViewer.prototype.imageUrl = function(index) {
return this.baseImageUrl(index) + ".jpg";
};
ImageViewer.prototype.thumbUrl = function(index) {
- return this.baseImageUrl(index) + "_Thumb.jpg";
+ return this.baseImageUrl(index) + "_thumb.jpg";
};
ImageViewer.prototype.preloadImages = function() {
View
12 db/seeds.rb
@@ -1,5 +1,7 @@
-Series.create(name: "Jacket", display_name: "The Jacket", index: 0, image_count: 12)
-Series.create(name: "Another", display_name: "Another Me", index: 1, image_count: 12)
-Series.create(name: "Thumbelina", display_name: "Thumbelina", index: 2, image_count: 10)
-Series.create(name: "Isolation", display_name: "Isolation", index: 3, image_count: 12)
-Series.create(name: "Weather", display_name: "Strange Weather", index: 4, image_count: 3)
+Series.create(name: "jacket", display_name: "The Jacket", index: 0, image_count: 18)
+Series.create(name: "another", display_name: "Another Me", index: 1, image_count: 12)
+Series.create(name: "thesis", display_name: "Thesis", index: 2, image_count: 10)
+Series.create(name: "tourist", display_name: "Tourist", index: 3, image_count: 20)
+Series.create(name: "thumbelina", display_name: "Thumbelina", index: 4, image_count: 10)
+Series.create(name: "isolation", display_name: "Isolation", index: 5, image_count: 12)
+Series.create(name: "weather", display_name: "Strange Weather", index: 6, image_count: 3)

0 comments on commit d8ac2d2

Please sign in to comment.