Koha/koha-tmpl/intranet-tmpl/prog/en/includes
Koustubha Kale 585a0024a1 Bug 1633: [SIGNED-OFF] Display local cover images
This patch adds display of local cover images in the following places:
1. OPAC Results page
2. OPAC Details page
3. Separate image viewer page for the OPAC
4. Intranet Details page
5. Separate image viewer page for the Intranet

Display in the Details and (OPAC) Results pages is handled via Javascript
rather than via direct embedding, to better handle the situation where most
records have local cover images, but a few do not.

Local cover images do not currently display in the Intranet Results page

How to use/test :
Assign user permission to the user Tools > (upload_local_cover_images Upload
local cover images).  In order to upload local  images, login to the staff
client. Go to Home > Tools > Upload Cover Images. Here you can upload cover
images either singly or in bulk in the form of a zip file.  If uploading
singly, click on image file, browse the image from your local disk, type in
the biblio number of the catalogue entry and press upload.  If uploading in
bulk as a zip file, the zip file must contain (in addition to cover images)
one text file named either datalink.txt OR idlink.txt. This file should
have mapping of biblionumber to image file name in the zip one per line
with comma or tab as delimiters. For example:

1, scanned_cover_image_of_bib_no_1.jpg
2, scanned_cover_image_of_bib_no_1.jpg

Cover images will be resized to a large image of 800x600 and a thumbnail of
200x140. Depending on the setting of AllowMultipleCovers, it is possible to
upload multiple images for a single bibliographic record. However, even if
multiple covers are permitted, you have the option of replacing the existing
covers by checking the "Replace existing covers" option on the upload screen.

1. The patch adds a menu link in Tools from where you can upload local cover
   images
2. It adds a user permission to enable access control to this menu item under
   Tools
3. It adds a system preference OPACLocalCoverImages under Enhanced Content.
   This needs to be turned on to show local cover images in OPAC.

Once you have uploaded local images, if you search for the biblio, the local
cover should show up in search as well as search detail pages in the OPAC, and
the details view in the Intranet.

Koustubha Kale is working on another patch which will allow us to set a cover
image source priority in system preferences, and which will then gracefully
fail over to the next source if image is not available from the first choice
source.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Koustubha Kale <kmkale@anantcorp.com>

Rebased the patch because it was failing with koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css due to changes pushed in master.
Applies cleanly now.
2012-01-24 11:16:04 +01:00
..
virtualshelves/merge
acquisitions-add-to-basket.inc Bug 6994: Wrong 'no budget defined' alert 2011-11-06 11:43:30 +01:00
acquisitions-menu.inc
acquisitions-search.inc Incremental fix for Bug 2847, Use HTML escape in templates where appropriate 2011-11-18 23:12:26 +01:00
acquisitions-toolbar.inc
additem-menu.inc
admin-menu.inc
auth-finder-search.inc
authorities-search.inc
authorities-toolbar.inc
background-job.inc
biblio-default-view.inc
biblio-view-menu.inc Bug 5528: Analytic records support 2011-10-13 10:03:39 +13:00
budgetperiods-admin.inc
budgets-active-currency.inc
budgets-admin-search.inc Fix for Bug 6458 - incorrect parsing result in translation processing 2011-09-14 10:09:04 +12:00
budgets-admin-toolbar.inc
calendar.inc
cat-menu.inc
cat-search.inc Bug 5009 : Turning off autocomplete 2011-08-02 12:24:45 +12:00
cat-toolbar.inc Bug 1633: [SIGNED-OFF] Add support for uploading images to Koha 2012-01-24 11:16:02 +01:00
cataloging-search.inc
cataloging-toolbar.inc
checkin-search.inc
checkouts-table-footer.inc Enh 6887: Add 'checked out from' column to issued items display tables 2011-09-21 09:44:00 +12:00
circ-menu.inc Bug 7334: Improve 'no address stored' and similar messages in patron account 2011-12-15 18:16:14 +01:00
circ-menu.tt Bug 7334: Improve 'no address stored' and similar messages in patron account 2011-12-15 18:16:14 +01:00
circ-search.inc Bug 5009 : Turning off autocomplete 2011-08-02 12:24:45 +12:00
circ-toolbar.inc Bug 5974: Fix broken toolbar on paton checkout tab 2011-12-03 07:36:04 +01:00
cities-admin-search.inc
contracts-admin-search.inc
currencies-admin-search.inc
date-format.inc Bug 5543 - Date ISO format wrong separator 2012-01-10 23:28:47 +01:00
dictionary-toolbar.inc
doc-head-close-receipt.inc
doc-head-close.inc Bug 1633: [SIGNED-OFF] Display local cover images 2012-01-24 11:16:04 +01:00
doc-head-open.inc Fix for Bug 6458 - incorrect parsing result in translation processing 2011-09-15 08:39:31 +12:00
error-messages.inc
facets.inc Bug 7275 - Pagination lost when click in the option "Show more" of facets column 2011-12-14 18:05:20 +01:00
favicon.ico
file-upload.inc
greybox.inc
guided-reports-view.inc Bug 6871 - add schema and sql library reports to guided reports sidebar 2011-09-25 15:10:37 +13:00
header.inc Fix for Bug 6970 - logout not redirecting to login page 2011-10-14 15:57:45 +13:00
help-bottom.inc
help-top.inc
hold-menu.inc
installer-doc-head-close.inc
intranet-bottom.inc Bug7108: Intranet Language Menu Display Patch 2011-12-06 11:55:48 +01:00
labels-batches-toolbar.inc
labels-menu.inc
labels-new-toolbar.inc
labels-toolbar.inc
letters-search.inc
mainmenu.inc
members-menu.inc Bug 3941 - Combine Notices & Messaging Tabs 2011-09-23 10:06:06 +12:00
members-toolbar.inc Fix for Bug 5974 - Bogus auth check for "StaffMember" role 2011-11-24 14:10:13 +01:00
messaging-preference-form.inc Fix for Bug 6458 - incorrect parsing result in translation processing 2011-09-15 08:41:28 +12:00
page-numbers.inc
patron-search-box.inc
patron-search.inc Bug 6776 - Add Checkin tab to patron search tool 2011-10-10 10:07:16 +13:00
patron-title.inc Bug 6303: Display Organisation and Parent Organisation names when viewing a borrower of type organisation 2011-11-24 11:30:08 +01:00
patron-toolbar.inc
patroncards-batches-toolbar.inc
patroncards-menu.inc
patroncards-toolbar.inc
patrons-admin-search.inc
popup-bottom.inc
prefs-admin-search.inc
prefs-menu.inc
printers-admin-search.inc
reports-menu.inc
resort_form.inc Bug 6662: Remove Dewey Specific References in Sort 2011-08-27 07:50:43 +12:00
roadtype-admin-search.inc
search_indexes.inc
serials-menu.inc
serials-search.inc
serials-toolbar.inc Bug 7348 - Fixed error for serial toolbar buttons in IE7 2012-01-13 11:43:44 +01:00
stopwords-admin-search.inc
subtypes_unimarc.inc
suggestions-add-search.inc
sysprefs-admin-search.inc
table-pager.inc Fix for Bug 6616 - Move common table pager markup to include 2011-10-09 20:07:35 +13:00
tools-item-action.inc
tools-menu.inc Bug 1633: [SIGNED-OFF] Add support for uploading images to Koha 2012-01-24 11:16:02 +01:00
tools-nomatch-action.inc
tools-overlay-action.inc
virtualshelves-toolbar.inc Bug 7363: allows downloading of lists in CSV format 2012-01-13 12:13:33 +01:00
z3950-admin-search.inc