The surrounding Divs have the following styles:
#flickr {
height: 308px;
width: 311px;
float: right;
margin-right: 7px;
padding-top: 13px;
padding-bottom: 12px;
padding-left: 0px;
}
#flickr_header {
background-image: url(../images/flickr.jpg);
background-repeat: no-repeat;
height: 23px;
width: 193px;
background-position: left top;
margin-left: 10px;
}
#flickr_container {
background-image: url(../images/flicker_bg.jpg);
background-repeat: no-repeat;
background-position: left top;
height: 267px;
width: 258px;
margin-left: 26px;
margin-top: 10px;
}
.flickr_img{
width: 252px;
margin-left: 1px;
position: relative;
padding-top: 3px;
}
#flickr_r {
width:214px;
height: 168px;
padding:0 0 0 50px;
margin-top:0px;
}
div#flickr_r a img {
float:left;
background: #ffffff;
margin:0 4px 4px 0px;
padding:4px;
width:75px;
height:75px;
}
div#flick_r a img {
background: #555555;
}
div#flickr_r img[src*="http://geo.yahoo.com"] { display:none }
I found these links explaining a similar problem.
http://www.teddy-o-ted.com/design/fix-for-buggy-flickr-badge-js/
http://veerle.duoh.com/blog/comments/fickr_badge_w3c_valid/
and I followed as they said but still no images.
it seems as though my problem might lie in the creation of a <span> also the links above suggested chaning the standard flickr badge CSS which I did but I notice bellow it is still using <div id="flickr_badge_image"> which I have no css for?
var b_txt = '';
2
3// write the badge
4
5
6
7 b_txt+= '<div class="flickr_badge_image" id="flickr_badge_image1"><a href="http://www.flickr.com/photos/retrocity/3612043955/"><img src="http://farm3.static.flickr.com/2422/3612043955_d6a46f10da_s.jpg" alt="A photo on Flickr" title="rarotonga_dinner-4" height="75" width="75"></a></div>';
8
9
10 b_txt+= '<div class="flickr_badge_image" id="flickr_badge_image2"><a href="http://www.flickr.com/photos/retrocity/3612858126/"><img src="http://farm4.static.flickr.com/3316/3612858126_0afcb7fd2e_s.jpg" alt="A photo on Flickr" title="rarotonga_dinner-3" height="75" width="75"></a></div>';
11
12
13 b_txt+= '<div class="flickr_badge_image" id="flickr_badge_image3"><a href="http://www.flickr.com/photos/retrocity/3612043447/"><img src="http://farm4.static.flickr.com/3620/3612043447_cc082cf7f5_s.jpg" alt="A photo on Flickr" title="rarotonga_dinner-2" height="75" width="75"></a></div>';
14
15
16 b_txt+= '<div class="flickr_badge_image" id="flickr_badge_image4"><a href="http://www.flickr.com/photos/retrocity/3612857528/"><img src="http://farm4.static.flickr.com/3320/3612857528_5619567dd5_s.jpg" alt="A photo on Flickr" title="rarotonga_dinner-1" height="75" width="75"></a></div>';
17
18
19b_txt += '<span style="position:absolute;left:-999em;top:-999em;visibility:hidden" class="flickr_badge_beacon"><img src="http://geo.yahoo.com/p?s=792600102&t=88be7833b0bb72e29c60df2eeac20052&r=http%3A%2F%2Fwww.arctosdesign.com%2Fsilverstripe%2F&fl_ev=0&lang=en&intl=uk" width="0" height="0" alt="" /></span>';
20
21document.write(b_txt);