Retrieve AC jackets by record ID
Retrieve AC jackets by record ID. Breaks unless your server-side handler and AC
module have been taught how to use AC by record ID.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Add onerror handler to hide broken jacket images
Use an onerror handler to hide broken jacket images, for those cases
where we receive a 404 instead of a 1x1 placeholder.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Include jacket image even if we lack an ISBN/UPC
Conditional output of the jacket image <img> tag breaks local added
content overrides by record ID. Make the inclusion of the jacket
image unconditional. We may next want to include onerror handlers
to hide the element if it 404s.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>