Adding a new descriptor template

This commit is contained in:
ville rantanen
2013-01-06 13:14:14 +02:00
parent 513650c663
commit b039f42c96
2 changed files with 11 additions and 7 deletions

View File

@@ -993,7 +993,7 @@ function showbigimage(i) {
$('#imagesingle').css('height',height);
} else { // is image
$('#imagecontainer').html('<div id="imagebig">'+linkToBig+
'<img id="imagesingle" src="'+mediumstr+'"></a></div>');
'<img id="imagesingle" src="'+mediumstr+'" title="'+titlestring(imagedesc[i])+'"></a></div>');
$('#imagesingle').css('max-width',width);
$('#imagesingle').css('max-height',height);
if ($.browser.msie) { // IE does not work with max*