forked from stylehatch/photoset-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
155 lines (126 loc) · 7.27 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>OuiShare Labs Hacks 2014</title>
<meta name="description" content="Arrange images into a flexible grid, based on Tumblr's photoset feature.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="//use.typekit.net/tnk3ktt.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<link rel="stylesheet" href="http://yandex.st/highlightjs/7.3/styles/default.min.css">
<script src="http://yandex.st/highlightjs/7.3/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/colorbox.css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="_/js/libs/jquery-1.9.1.min.js"><\/script>')</script>
<script type="text/javascript">
var StyleHatch = window.StyleHatch || {};
</script>
</head>
<body>
<header class="page-head">
<a href="http://labs.ouishare.net"><img src="http://labs.ouishare.net/sites/default/files/oslabs-www-white_1.png"></a>
</header>
<div id="container">
<header>
<h1>OuiShare Labs Hacks</h1>
<h5>first impressions of the prethingy.</h5>
</header>
<div class="share">
<iframe src="http://ghbtns.com/github-btn.html?user=ouisharelabs&type=follow"
allowtransparency="true" frameborder="0" scrolling="0" width="62" height="20"></iframe>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://lab.ouishare.net/hacks_image_gallery" data-text="Early Ouishare Hacks" data-via="ouisharelabs" data-related="Richter">Tweet</a>
<a href="https://twitter.com/ouisharelabs" class="twitter-follow-button" data-show-count="true" data-align="right" data-lang="en">Follow @ouisharelabs</a>
</div>
<div id="main" role="main">
<p>Get some first glimplses of the NON-CAPITALIZED revolution. Because <i>this</i> revolution will not be capitalized. <a href="https://github.com/ouisharelabs/hacks_image_gallery/issues">Help out with issues if appropriate</a>.</p>
<hr />
<!-- Ligthbox -->
<h3 id="demo-lightbox">Adding A Lightbox</h3>
<div class="photoset-grid-lightbox" data-layout="131" style="visibility: hidden;">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9185.JPG?dim=1280" width="1280" height="1707" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9185.JPG">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9186.JPG?dim=500" width="500" height="663" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9186.JPG">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9187.JPG?dim=500" width="500" height="500" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9187.JPG">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9188.JPG?dim=500" width="500" height="500" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9188.JPG">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9189.JPG?dim=500" width="500" height="500" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9189.JPG">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9190.JPG?dim=1280" width="1280" height="1280" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9190.JPG">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9191.JPG?dim=1280" width="1280" height="1280" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9191.JPG">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9192.JPG?dim=1280" width="1280" height="1280" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9192.JPG">
<img src="http://thumb.allmende.io/images/banana/photos/DSCF9193.JPG?dim=1280" width="1280" height="1280" data-highres="http://thumb.allmende.io/images/banana/photos/DSCF9193.JPG">
</div>
<h2>Credits</h2>
<ul>
<li><a href="http://github.com/almereyda">Jon Richter</a> - <em><a href="http://twitter.com/almereyda">@almereyda</a> | <a href="http://jonrichter.de">almereyda.de</a></em></li>
<li><a href="http://github.com/jonathanmoore">Jonathan Moore</a> - <em><a href="http://twitter.com/moore">@moore</a> | <a href="http://jonathanmoore.com">jonathanmoore.com</a></em></li>
<li><a href="http://muke.me">Mikey Wills</a> - <em><a href="https://twitter.com/mukealicious">@mukealicious</a> | <a href="http://muke.me">muke.me</a></em></li>
<li><em>Additional</em>
<ul>
<li><a href="https://github.com/orgs/ouisharelabs/members">Les hackeuses de OuiShare Labs</a> & <a href="https://github.com/ouisharelabs/">GitHub</a> - <a href="https://twitter.com/ouisharelabs">Twitter</a></li>
</ul>
</li>
</ul>
</div>
<footer>
<div class="browse-themes">
<a href="http://community.ouishare.net" class="button">The Discourse</a>
<p><i>Hacking the collaborative economy.</i></p>
</div>
<div class="question">
<h5>Part of</h5>
<a href="https://hacking.ouishare.net">OuiShare Labs Hacks</a>
</div>
</footer>
</div>
<script src="jquery.photoset-grid.js"></script>
<script src="js/jquery.colorbox.js"></script>
<script type="text/javascript">
// Photoset Grid Basic
$('.photoset-grid-basic').photosetGrid({
onComplete: function(){
$('.photoset-grid-basic').attr('style', '');
}
});
// Photoset Grid Custom
$('.photoset-grid-custom').photosetGrid({
gutter: '5px',
layout: '21',
highresLinks: true,
rel: 'print-gallery',
onComplete: function(){
$('.photoset-grid-custom').attr('style', '');
}
});
//$('.photoset-grid-alt').photosetGrid();
$('.photoset-grid-lightbox').photosetGrid({
highresLinks: true,
rel: 'withhearts-gallery',
gutter: '2px',
onComplete: function(){
$('.photoset-grid-lightbox').attr('style', '');
$('.photoset-grid-lightbox a').colorbox({
photo: true,
scalePhotos: true,
maxHeight:'90%',
maxWidth:'90%'
});
}
});
</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39055361-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script src="//static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">try{ clicky.init(100587882); }catch(e){}</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/100587882ns.gif" /></p></noscript>
</body>
</html>