1
0
Fork 0
forked from wezm/wezm.net

Add test of pre-processed B&W thumbs

This commit is contained in:
Wesley Moore 2010-01-29 13:41:50 +11:00
parent d22eab5a66
commit d0e1d7ce66
5 changed files with 39 additions and 3 deletions

View file

@ -76,7 +76,7 @@
<!-- <h1>Photos</h1> -->
<ul class="inline">
<li>
Loading photos&hellip;
<a href="http://farm3.static.flickr.com/2708/4302496460_a1ec313d06.jpg" rel="prettyPhoto[flickr]"><img src="/images/photos/4302496460_a1ec313d06.jpg" alt="Test Monochrome" /></a>
</li>
</div>

View file

@ -196,15 +196,26 @@ ul#menu li {
float: left;
height: 75px;
width: 75px;
overflow: hidden;
margin: 20px 0 0 20px;
}
#flickr li img {
opacity: 0.7;
/* opacity: 0.7;*/
}
#flickr li img:hover {
opacity: 1;
}
#flickr li:first-child {
background: url(/images/photos/4302496460_a1ec313d06.jpg) no-repeat top left;
}
#flickr li:first-child:hover {
background-position: 0 -75px;
}
#flickr li img:first-child {
opacity: 0;
}
/* Inline flat list style */
ul.inline {
list-style: none;

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -2,7 +2,7 @@
jQuery(function () {
function populate_flickr(data, text_status) {
var ul = $("ul", "#flickr");
ul.empty();
// ul.empty();
jQuery.each(data.photos.photo, function(i, photo) {
var li = $("<li></li>");
var a = $("<a></a>");

25
output/photos.xml Normal file
View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<photos page="1" pages="52" perpage="20" total="1032">
<photo id="4302502138" url_bw="/images/photos/4302502138_f126101e85.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="f126101e85" server="2705" farm="3" title="_MG_7957" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2705/4302502138_f126101e85_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2705/4302502138_f126101e85.jpg" height_m="333" width_m="500" />
<photo id="4301753381" url_bw="/images/photos/4301753381_2612301f57.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="2612301f57" server="4044" farm="5" title="_MG_7956" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm5.static.flickr.com/4044/4301753381_2612301f57_s.jpg" height_sq="75" width_sq="75" url_m="http://farm5.static.flickr.com/4044/4301753381_2612301f57.jpg" height_m="500" width_m="333" />
<photo id="4302500816" url_bw="/images/photos/4302500816_ed280956af.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="ed280956af" server="2766" farm="3" title="_MG_7954" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2766/4302500816_ed280956af_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2766/4302500816_ed280956af.jpg" height_m="500" width_m="333" />
<photo id="4302500154" url_bw="/images/photos/4302500154_d0c3689004.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="d0c3689004" server="2797" farm="3" title="_MG_7953" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2797/4302500154_d0c3689004_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2797/4302500154_d0c3689004.jpg" height_m="500" width_m="333" />
<photo id="4302499604" url_bw="/images/photos/4302499604_0b7b6e8948.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="0b7b6e8948" server="2727" farm="3" title="_MG_7952" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2727/4302499604_0b7b6e8948_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2727/4302499604_0b7b6e8948.jpg" height_m="333" width_m="500" />
<photo id="4302498978" url_bw="/images/photos/4302498978_59b44dbf76.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="59b44dbf76" server="4010" farm="5" title="_MG_7951" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm5.static.flickr.com/4010/4302498978_59b44dbf76_s.jpg" height_sq="75" width_sq="75" url_m="http://farm5.static.flickr.com/4010/4302498978_59b44dbf76.jpg" height_m="333" width_m="500" />
<photo id="4302498634" url_bw="/images/photos/4302498634_ea261847ab.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="ea261847ab" server="4016" farm="5" title="_MG_7950" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm5.static.flickr.com/4016/4302498634_ea261847ab_s.jpg" height_sq="75" width_sq="75" url_m="http://farm5.static.flickr.com/4016/4302498634_ea261847ab.jpg" height_m="333" width_m="500" />
<photo id="4302498230" url_bw="/images/photos/4302498230_5b05bb0637.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="5b05bb0637" server="2712" farm="3" title="_MG_7949" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2712/4302498230_5b05bb0637_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2712/4302498230_5b05bb0637.jpg" height_m="333" width_m="500" />
<photo id="4302497800" url_bw="/images/photos/4302497800_e5c652f3d1.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="e5c652f3d1" server="2690" farm="3" title="_MG_7946" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2690/4302497800_e5c652f3d1_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2690/4302497800_e5c652f3d1.jpg" height_m="333" width_m="500" />
<photo id="4301749097" url_bw="/images/photos/4301749097_9dfae30b9f.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="9dfae30b9f" server="4055" farm="5" title="_MG_7942" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm5.static.flickr.com/4055/4301749097_9dfae30b9f_s.jpg" height_sq="75" width_sq="75" url_m="http://farm5.static.flickr.com/4055/4301749097_9dfae30b9f.jpg" height_m="500" width_m="333" />
<photo id="4302496460" url_bw="/images/photos/4302496460_a1ec313d06.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="a1ec313d06" server="2708" farm="3" title="_MG_7939" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2708/4302496460_a1ec313d06_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2708/4302496460_a1ec313d06.jpg" height_m="333" width_m="500" />
<photo id="4302495908" url_bw="/images/photos/4302495908_06eb16405f.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="06eb16405f" server="2709" farm="3" title="_MG_7937" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2709/4302495908_06eb16405f_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2709/4302495908_06eb16405f.jpg" height_m="333" width_m="500" />
<photo id="4302495170" url_bw="/images/photos/4302495170_df09a61e2c.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="df09a61e2c" server="2790" farm="3" title="_MG_7936" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2790/4302495170_df09a61e2c_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2790/4302495170_df09a61e2c.jpg" height_m="333" width_m="500" />
<photo id="4302494828" url_bw="/images/photos/4302494828_13942eb8c2.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="13942eb8c2" server="2684" farm="3" title="_MG_7935" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2684/4302494828_13942eb8c2_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2684/4302494828_13942eb8c2.jpg" height_m="500" width_m="333" />
<photo id="4302493928" url_bw="/images/photos/4302493928_61675ca5bd.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="61675ca5bd" server="2761" farm="3" title="_MG_7934" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2761/4302493928_61675ca5bd_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2761/4302493928_61675ca5bd.jpg" height_m="500" width_m="333" />
<photo id="4268597148" url_bw="/images/photos/4268597148_ab83667f21.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="ab83667f21" server="4013" farm="5" title="Blue Flower" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm5.static.flickr.com/4013/4268597148_ab83667f21_s.jpg" height_sq="75" width_sq="75" url_m="http://farm5.static.flickr.com/4013/4268597148_ab83667f21.jpg" height_m="333" width_m="500" />
<photo id="4267852401" url_bw="/images/photos/4267852401_e2d539967b.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="e2d539967b" server="2677" farm="3" title="Wes on Steps in the Rainforest" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2677/4267852401_e2d539967b_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2677/4267852401_e2d539967b.jpg" height_m="500" width_m="333" />
<photo id="4267852153" url_bw="/images/photos/4267852153_1060f0d092.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="1060f0d092" server="4021" farm="5" title="Wes and Manda in the Rainforest" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm5.static.flickr.com/4021/4267852153_1060f0d092_s.jpg" height_sq="75" width_sq="75" url_m="http://farm5.static.flickr.com/4021/4267852153_1060f0d092.jpg" height_m="333" width_m="500" />
<photo id="4268596618" url_bw="/images/photos/4268596618_c9755d8507.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="c9755d8507" server="4061" farm="5" title="Manda in the Rainforest" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm5.static.flickr.com/4061/4268596618_c9755d8507_s.jpg" height_sq="75" width_sq="75" url_m="http://farm5.static.flickr.com/4061/4268596618_c9755d8507.jpg" height_m="500" width_m="333" />
<photo id="4268596324" url_bw="/images/photos/4268596324_eaf83cde01.jpg" height_bw="75" width_bw="75" owner="40215689@N00" secret="eaf83cde01" server="2755" farm="3" title="Mossy Path and Seat" ispublic="1" isfriend="0" isfamily="0" url_sq="http://farm3.static.flickr.com/2755/4268596324_eaf83cde01_s.jpg" height_sq="75" width_sq="75" url_m="http://farm3.static.flickr.com/2755/4268596324_eaf83cde01.jpg" height_m="500" width_m="333" />
</photos>
</rsp>