"1"
Bootstrap 3.2.0 Snippet by Fullzero

1
2
3
4
5
6
7
8
9
10
11
12
13
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<hr>
<h2>Photo picasaweb.google.com yuo sait</h2>
<div id="photo"></div>
<div id="bigphoto"></div>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
$.ajax({
type: 'GET',
url: 'https://picasaweb.google.com/data/feed/base/user/107086952072850823391/albumid/6084104120513629537?alt=json&thumbsize=' + 300,
success : function(data){
$.each(data.feed.entry, function(i,item){
$.each(item.media$group.media$content, function(i,item){ photoUrl = item.url; });
$.each(item.media$group.media$thumbnail, function(i,item){ photoThumb = item.url; });
photo = photoUrl.split('/')[7];
photoUrl = photoUrl.replace(photo, 's1200/' + photo);
photoTitle = item.media$group.media$title.$t;
if (photoTitle == photo) photoTitle = '';
$('#photo').append('<div class="col-lg-3 col-md-4 col-xs-6 thumb"><a href="#" class="thumbnail" data-toggle="modal" data-target=".pop-up-'+ i +'"><img class="img-responsive" src="' + photoThumb + ' alt="" /></div>');
$('#bigphoto').append('<div class="modal fade pop-up-'+ i + '" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel-'+ i +'" aria-hidden="true"><div class="modal-dialog modal-lg"><div class="modal-content"><div class="modal-header"><button type="button" data-dismiss="modal" aria-hidden="true">×</button><h4 class="modal-title" id="myLargeModalLabel-1">Фото </h4></div><div class="modal-body"><img class="img-responsive img-rounded center-block" src="' + photoUrl + ' alt="" /></div></div></div></div>');
});
},
dataType: 'json',
async: false
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: