aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/lightbox/album.php
blob: 19d5dbc04538964e738156ff1dc0b617f3abb42f (plain)
1
2
3
4
5
6
7
8
$(function(){
	$images = $('.elgg-gallery .lightbox-photo .album-gallery-item a');
	$.each($images, function(i, a) {
		a.href = $(a).children().first().attr('src').replace(/size=[^&]*/, "size=full");
	});
	$images.lightBox({txtImage: 'Imagem',
	txtOf: 'de'});
});