launchpad icon indicating copy to clipboard operation
launchpad copied to clipboard

UI hide empty cover images

Open StudioZut opened this issue 10 years ago • 1 comments

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.

StudioZut avatar Dec 23 '15 15:12 StudioZut

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

StudioZut avatar Jan 13 '16 18:01 StudioZut