From 2e65c01284c9055476bbdc9bfb429fca1cc9a820 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 23 Jul 2014 09:46:32 -0400 Subject: [PATCH] Add example "No Image" configuration To make it easy to see how to do that kind of thing. Signed-off-by: Thomas Berezansky --- 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 d1b48f0b90..fd8d4aa735 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 f6e65e7abe..38ea2b4ae4 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.11.0