launchpad
launchpad copied to clipboard
UI hide empty cover images
Our book cover source returns 1px blank images if it can't find an actual image.
Quick fix: Set .search-result img.cover-thumbnail (launchpad.css 216) to max-height instead of height.
Possible Real fix: use jquery naturalHeight and naturalWidth to check for images that match the 1px dimensions and hide those divs with display:none.
Not all titles pull the empty 1px image. Example of one that does (first result Hoffmann 1974 ): http://findit.library.gwu.edu/search?q=moby%20dick