-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·85 lines (79 loc) · 3.53 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
<!DOCTYPE html>
<html class="new" lang="en">
<head>
<meta charset="utf-8" />
<title>Photography | Basheer Tome</title>
<meta name="description" content="Creating visual memories you might have had. Not all those who wander are lost." />
<meta name="keywords" content="photography, interaction, industrial, design, user experience, basheer, tome, san, francisco, california" />
<link rel="shortcut icon" href="favicon.ico" />
<style type="text/css">html { background: #000; }</style>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<link href='https://api.flickr.com/services/feeds/photos_public.gne?id=10019047@N05&lang=en-us&format=rss_200' rel='alternate' type='application/atom+xml' />
<script src="scripts/jquery.min.js"></script>
<script src="scripts/jquery.hotkeys.js"></script>
<script src="scripts/script.js"></script>
<script type="text/javascript" language="javascript">
function jsonFlickrApi(rsp) {
if (rsp.stat != "ok"){return;}
var s = new Array();
for (var i=31; i >= 0; i--) {
photo = rsp.photos.photo[ i ];
if ((photo.o_width / photo.o_height) > 1.8 || (photo.o_width / photo.o_height) < 1.3) {
p_vert = ' class="vertical"';
} else {p_vert = '';}
if (photo.url_c) {
var letter = "c";
} else {
var letter = "z";
}
t_url = "https://farm" + photo.farm + ".static.flickr.com/" + photo.server + "/" + photo.id + "_" + photo.secret + "_" + letter + ".jpg";
p_url = "https://www.flickr.com/photos/basheertome/" + photo.id;
s.push('<td title="' + photo.title + '"' + p_vert + '><a href="' + p_url + '"><img src="' + t_url + '" alt="' + photo.title + '" id="' + photo.id + '" /></a></td>');
}
s.reverse();
for (var i=0; i < s.length; i++) {
document.writeln(s[i]);
}
}
</script>
<script src="scripts/stats.js"></script>
</head>
<body class="new">
<div class="preview"><span>
<span>
<img src="" />
<div class="info">
<a href="" id="title" target="_blank"></a>
<p id="exif"></p>
</div>
</span>
<div class="toolbar">
<p id="close"><img src="images/close.png" width="16px" height="16px" alt="x" /></p>
<p id="fullscreen"><img src="images/fullscreen.png" width="16px" height="16px" alt="full" /></p>
</div>
<div class="previous"><a href="#"><div> ⇤</div></a></div>
<div class="next"><a href="#"><div> ⇥</div></a></div>
<div class="close"></div>
</span></div>
<h1><a href="https://basheer.co/">Basheer Tome</a></h1>
<ul class="navigation">
<li id="new">new</li>
<li><a id="life" href="/life">life</a></li>
<li><a id="land" href="/land">land</a></li>
<li><a id="travel" href="/travel">travel</a></li>
<li><a id="love" href="/love">love</a></li>
<li><a id="flora" href="/flora">flora</a></li>
<li><a id="food" href="/food">food</a></li>
<li><a id="series" href="/series">series</a></li>
<li><a id="mobile" href="/mobile">mobile</a></li>
</ul>
<div id="photos"><table><tr>
<td id="scroll"><span>scroll <span>⇥</span></span></td>
<script type="text/javascript" language="javascript" src="https://api.flickr.com/services/rest/?format=json&method=flickr.photos.search&user_id=10019047@N05&media=photos&api_key=9741a22f899708369501d59bfaa1b26a&extras=o_dims,url_c"></script>
</tr></table></div>
<div class="footer">Creating visual memories you might have had. Follow me on <a href="https://www.flickr.com/photos/basheertome">Flickr</a>.</div>
</body>
</html>