-
Notifications
You must be signed in to change notification settings - Fork 0
/
flickrtools.html
executable file
·200 lines (158 loc) · 5.36 KB
/
flickrtools.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!DOCTYPE html>
<html>
<head>
<title>Pixelated Views | FlickrTools jQuery Plugin</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="FlickrTools is a jQuery Plugin to help you query for flickr images, and display them on your web site." />
<meta name="keywords" content="" />
<meta name="google-site-verification" content="t2yy9wL1bXPiPQjBqDee2BTgpiGQjwVldlfa4X5CQkU" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.pixelatedviews.com/images/favicon.ico" />
<link rel="alternate" href="www.pixelatedviews.com" hreflang="en-us" />
<!-- CSS JS -->
<script src="js/css.js" type="text/javascript" charset="utf-8"></script>
<!-- LESS -->
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.3/less.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//code.jquery.com/jquery-latest.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.flickrtools.js" type="text/javascript" charset="utf-8"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.5.9/slick.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/pixelated.js" type="text/javascript" charset="utf-8"></script>
<script>
$(document).ready(function(){
/* ===== HOME PAGE FLICKR DATA ===== */
$('#slick-flickr').slick({
slidesToShow: 3,
slidesToScroll: 1,
centerMode: true,
centerPadding: '60px',
autoplay: true,
autoplaySpeed: 2000,
arrows: true,
focusOnSelect: true,
infinite: true,
lazyLoad: 'ondemand',
variableWidth: true
});
$.flickrtools().getFlickrData({
userId: '15473210@N04',
apiKey: '882cab5548d53c9e6b5fb24d59cc321d',
tags: 'pixelatedviewsgallery',
},
{ '#flickrHero' : $.flickrtools().rotateFlickrHero,
'#slick-flickr' : $.flickrtools().loadSlickFromFlickr
}
);
});
</script>
</head>
<body>
<a name="top"></a>
<div id="panel-menu" class="pad">
<!--div>
<div class="panel-menu-header grid12">
<div class="panel-menu-button push-right">
<img src="images/mobile-menu2.png" />
</div>
</div>
</div-->
<div class="accordion-menu">
</div>
</div>
<!-- PAGE CONTAINER -->
<div id="page-container">
<!-- / PAGE FIXED HEADER -->
<div id="fixed-header" class="grid12">
<!-- PAGE HEADER -->
<div id="page-header" class="grid12">
<div class="content-container">
<div class="panel-menu-button pull-left">
<img src="images/mobile-menu2.png" />
</div>
<h1 class="pull-left">Pixelated Views Template</h1>
<div class="addthis_sharing_toolbox push-right noMobile"></div>
</div>
</div>
<!-- / PAGE HEADER -->
<!-- PAGE NAV -->
<div id="page-nav" class="grid12">
<div class="content-container">
</div>
</div>
<!-- / PAGE NAV -->
</div>
<!-- / PAGE FIXED HEADER -->
<!-- PAGE FIXED HEADER SPACER -->
<div id="fixed-header-spacer" class="grid12">
</div>
<!-- / PAGE FIXED HEADER SPACER -->
<!-- PAGE SEARCH -->
<div id="page-search" class="grid12 noMobile">
<div class="content-container">
<gcse:search></gcse:search>
</div>
</div>
<!-- / PAGE SEARCH -->
<!-- PAGE BODY -->
<div id="page-body" class="grid12">
<div class="content-container">
<div class="grid10 push1">
<div>
<div class="button pull-left"><a href="https://github.com/brianwhaley/flickrtools">Download</a></div>
</div>
<div class="row">
<!-- PAGE HERO -->
<div class="callout-header grid12">
<h2 class="callout-title">Hero Image</h2>
</div>
<div id="page-hero" class="grid12">
<img src="#" id="flickrHeroPreload" alt="Pixelated Views Hero Photo" style="display:none;" />
<img src="#" id="flickrHero" alt="Pixelated Views Hero Photo"/>
<div id="flickrHeroCount">0 / 0</div>
</div>
<!-- / PAGE HERO -->
</div>
<div class="row">
<!-- ===== SLICK FLICKR ===== -->
<div id="slickFlickrCards" class="column callout grid12">
<div class="callout-header grid12">
<h2 class="callout-title">My Flickr Photos</h2>
</div>
<div class="callout-body grid12">
<div class="grid12">
<div id="slick-flickr">
</div>
</div>
</div>
</div>
<!-- ===== ===== ===== ===== -->
</div>
<div>
<div class="callout-header grid12">
<h2 class="callout-title">Documentation</h2>
</div>
<h3>Download</h3>
<ul>
<li><a href="downloads/flickrtools-latest.zip">flickrtools - latest</a>
<li><a href="downloads/flickrtools-1.0.zip">flickrtools v. 1.0</a>
</ul>
<h3>Setup</h3>
<ul>
<li>This javascript plugin requires jQuery, and should be loaded after the initial jQuery library.
<li>You must have a flickr app defined on the flickr site for this to work.
<li>Add the JavaScript of this page to your site, change all the parameters to fit your needs (see below), and test.
</ul>
</div>
</div>
</div>
</div>
<!-- / PAGE BODY -->
<!-- PAGE FOOTER -->
<div id="page-footer" class="grid12">
<div class="content-container">
</div>
</div>
<!-- / PAGE FOOTER -->
</div>
<!-- / PAGE CONTAINER -->
</body>
</html>