Skip to content

Commit

Permalink
Replaced all images, upadted config
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzg committed Jan 9, 2017
1 parent e5359db commit fb94d48
Show file tree
Hide file tree
Showing 43 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
_site/
node_modules/
Binary file added cambodia/IMG_7076.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7136.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7137.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7184.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7199.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7215.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7575.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7581.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7593.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cambodia/IMG_7609.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed cambodia/cambodia-1.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-10.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-2.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-3.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-4.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-5.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-6.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-7.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-8.jpg
Binary file not shown.
Binary file removed cambodia/cambodia-9.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"cambodia":[{"width":3509,"height":2632,"path":"cambodia/cambodia-1.jpg"},{"width":3797,"height":2848,"path":"cambodia/cambodia-10.jpg"},{"width":2821,"height":3761,"path":"cambodia/cambodia-2.jpg"},{"width":2136,"height":2848,"path":"cambodia/cambodia-3.jpg"},{"width":4272,"height":2848,"path":"cambodia/cambodia-4.jpg"},{"width":3244,"height":2433,"path":"cambodia/cambodia-5.jpg"},{"width":3797,"height":2848,"path":"cambodia/cambodia-6.jpg"},{"width":3797,"height":2848,"path":"cambodia/cambodia-7.jpg"},{"width":3441,"height":2581,"path":"cambodia/cambodia-8.jpg"},{"width":2848,"height":4272,"path":"cambodia/cambodia-9.jpg"}],"hongkong":[{"width":3797,"height":2848,"path":"hongkong/hongkong-1.jpg"},{"width":2130,"height":2840,"path":"hongkong/hongkong-10.jpg"},{"width":4272,"height":2848,"path":"hongkong/hongkong-2.jpg"},{"width":2541,"height":3388,"path":"hongkong/hongkong-3.jpg"},{"width":4272,"height":2403,"path":"hongkong/hongkong-4.jpg"},{"width":4272,"height":2848,"path":"hongkong/hongkong-5.jpg"},{"width":2848,"height":4272,"path":"hongkong/hongkong-6.jpg"},{"width":3797,"height":2848,"path":"hongkong/hongkong-7.jpg"},{"width":4272,"height":2848,"path":"hongkong/hongkong-8.jpg"},{"width":2848,"height":2848,"path":"hongkong/hongkong-9.jpg"}]}
{"cambodia":[{"width":2000,"height":1500,"path":"cambodia/IMG_7076.jpg"},{"width":1500,"height":2000,"path":"cambodia/IMG_7136.jpg"},{"width":1500,"height":2000,"path":"cambodia/IMG_7137.jpg"},{"width":2000,"height":1333,"path":"cambodia/IMG_7184.jpg"},{"width":2000,"height":1500,"path":"cambodia/IMG_7199.jpg"},{"width":2000,"height":1500,"path":"cambodia/IMG_7215.jpg"},{"width":2000,"height":1500,"path":"cambodia/IMG_7575.jpg"},{"width":2000,"height":1500,"path":"cambodia/IMG_7581.jpg"},{"width":1333,"height":2000,"path":"cambodia/IMG_7593.jpg"},{"width":2000,"height":1500,"path":"cambodia/IMG_7609.jpg"}],"hongkong":[{"width":2000,"height":1333,"path":"hongkong/IMG_0067.jpg"},{"width":2000,"height":2000,"path":"hongkong/IMG_0191.jpg"},{"width":1500,"height":2000,"path":"hongkong/IMG_6427.jpg"},{"width":2000,"height":1500,"path":"hongkong/IMG_9640.jpg"},{"width":2000,"height":1333,"path":"hongkong/IMG_9675.jpg"},{"width":1500,"height":2000,"path":"hongkong/IMG_9863.jpg"},{"width":2000,"height":1125,"path":"hongkong/IMG_9892.jpg"},{"width":2000,"height":1333,"path":"hongkong/IMG_9905.jpg"},{"width":1333,"height":2000,"path":"hongkong/IMG_9966.jpg"},{"width":2000,"height":1500,"path":"hongkong/IMG_9972.jpg"}]}
4 changes: 3 additions & 1 deletion gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ var Gallery = (function() {

for (var i = 0; i < photos.length; i++) {
var photo = photos[i];
var image = new Image(photo.getWidth(finalHeight), finalHeight);
var image = new Image();
image.src = photo.getPath();
image.style.width = photo.getWidth(finalHeight) + 'px';
image.style.height = finalHeight + 'px';
if (i !== 0) {
image.style.marginLeft = this._spacing + 'px';
}
Expand Down
Binary file added hongkong/IMG_0067.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hongkong/IMG_0191.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hongkong/IMG_6427.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hongkong/IMG_9640.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hongkong/IMG_9675.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hongkong/IMG_9863.jpg
Binary file added hongkong/IMG_9892.jpg
Binary file added hongkong/IMG_9905.jpg
Binary file added hongkong/IMG_9966.jpg
Binary file added hongkong/IMG_9972.jpg
Binary file removed hongkong/hongkong-1.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-10.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-2.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-3.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-4.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-5.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-6.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-7.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-8.jpg
Diff not rendered.
Binary file removed hongkong/hongkong-9.jpg
Diff not rendered.

0 comments on commit fb94d48

Please sign in to comment.