From 5ff1828d70e94d8edfa3eb609522b69e50618ccd Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 23 Jul 2014 09:46:32 -0400 Subject: [PATCH] LP#1347807: Add example "No Image" configuration To make it easy to see how to do that kind of thing. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum --- Open-ILS/examples/apache/eg_vhost.conf.in | 18 ++++++++++++++++++ Open-ILS/examples/apache_24/eg_vhost.conf.in | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/Open-ILS/examples/apache/eg_vhost.conf.in b/Open-ILS/examples/apache/eg_vhost.conf.in index d26151ec04..771ed62e8e 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf.in +++ b/Open-ILS/examples/apache/eg_vhost.conf.in @@ -79,6 +79,24 @@ RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \ ErrorDocument 404 /opac/images/blank.png +# Uncomment one or more of these to have a "no image" image other than the blank +# image above. + +# Note: There are no default images provided for these, you will need to provide +# your own "no image" image(s). + +# +# ErrorDocument 404 /opac/images/noimage_small.png +# + +# +# ErrorDocument 404 /opac/images/noimage_medium.png +# + +# +# ErrorDocument 404 /opac/images/noimage_large.png +# + # ---------------------------------------------------------------------------------- # Add the row ID (RID) and date so we can make unAPI happy # ---------------------------------------------------------------------------------- diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in index f73361632d..c6ce1c7fa3 100644 --- a/Open-ILS/examples/apache_24/eg_vhost.conf.in +++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in @@ -79,6 +79,24 @@ RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \ ErrorDocument 404 /opac/images/blank.png +# Uncomment one or more of these to have a "no image" image other than the blank +# image above. + +# Note: There are no default images provided for these, you will need to provide +# your own "no image" image(s). + +# +# ErrorDocument 404 /opac/images/noimage_small.png +# + +# +# ErrorDocument 404 /opac/images/noimage_medium.png +# + +# +# ErrorDocument 404 /opac/images/noimage_large.png +# + # ---------------------------------------------------------------------------------- # Add the row ID (RID) and date so we can make unAPI happy # ---------------------------------------------------------------------------------- -- 2.43.2