OPAC: Default Cover Image
authorTerran McCanna <tmccanna@georgialibraries.org>
Fri, 13 Nov 2020 17:17:58 +0000 (12:17 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 19:53:34 +0000 (14:53 -0500)
Enable the ability to show a default image when a cover is not
available.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/examples/apache_24/eg_vhost.conf.in
Open-ILS/web/opac/images/noimage_large.png
Open-ILS/web/opac/images/noimage_medium.png
Open-ILS/web/opac/images/noimage_small.png

index aed61b6..ec63bce 100644 (file)
@@ -114,17 +114,17 @@ RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \
 # Note: There are no default images provided for these, you will need to provide
 # your own "no image" image(s).
 
-#<Location /opac/extras/ac/jacket/small>
-#        ErrorDocument 404 /opac/images/noimage_small.png
-#</Location>
+<Location /opac/extras/ac/jacket/small>
+        ErrorDocument 404 /opac/images/noimage_small.png
+</Location>
 
-#<Location /opac/extras/ac/jacket/medium>
-#        ErrorDocument 404 /opac/images/noimage_medium.png
-#</Location>
+<Location /opac/extras/ac/jacket/medium>
+        ErrorDocument 404 /opac/images/noimage_medium.png
+</Location>
 
-#<Location /opac/extras/ac/jacket/large>
-#        ErrorDocument 404 /opac/images/noimage_large.png
-#</Location>
+<Location /opac/extras/ac/jacket/large>
+        ErrorDocument 404 /opac/images/noimage_large.png
+</Location>
 
 # ----------------------------------------------------------------------------------
 # Add the row ID (RID) and date so we can make unAPI happy
index f4ed4f3..4abf3b2 100644 (file)
Binary files a/Open-ILS/web/opac/images/noimage_large.png and b/Open-ILS/web/opac/images/noimage_large.png differ
index 7139af9..7770dd2 100644 (file)
Binary files a/Open-ILS/web/opac/images/noimage_medium.png and b/Open-ILS/web/opac/images/noimage_medium.png differ
index 35d84b8..10daf7b 100644 (file)
Binary files a/Open-ILS/web/opac/images/noimage_small.png and b/Open-ILS/web/opac/images/noimage_small.png differ