NIHVIVO-2121: Fixed stretched image thumbnail issue on menupage individual listing

This commit is contained in:
mb863 2011-02-11 16:02:15 +00:00
parent a64166e329
commit d49d74a95a

View file

@ -68,7 +68,7 @@ browseByVClass.getIndividuals = function(vclassUri, alpha, page, scroll) {
} }
// Build the content of each list item, piecing together each component // Build the content of each list item, piecing together each component
listItem = '<li class="vcard individual foaf-person" role="listitem" role="navigation">'; listItem = '<li class="vcard individual foaf-person" role="listitem" role="navigation">';
listItem += '<img src="'+ image +'" width="90" height="90" alt="'+ fullName +'" />'; listItem += '<img src="'+ image +'" width="90" alt="'+ fullName +'" />';
listItem += '<h1 class="fn thumb"><a href="'+ profileUrl +'" title="View the profile page for '+ fullName +'">'+ fullName +'</a></h1>'; listItem += '<h1 class="fn thumb"><a href="'+ profileUrl +'" title="View the profile page for '+ fullName +'">'+ fullName +'</a></h1>';
// Include the calculated preferred title (see above) only if it's not empty // Include the calculated preferred title (see above) only if it's not empty
if ( preferredTitle != "" ) { if ( preferredTitle != "" ) {