[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Patron card creator › Images [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'patroncards-toolbar.inc' %] [% INCLUDE 'patroncards-errors.inc' %]

Upload additional images for patron cards

Manage additional images to use as logo, decoration or background on a patron card layout.

Only PNG, GIF, JPEG, XPM formats are supported. Maximum image size is 500KB.
  1. This will be the name by which you will refer to this image in the patron card layout editor.
    To replace an image, delete it, upload a new file and give it the same image name.
[% IF ( IMPORT_SUCCESSFUL ) %]

Image successfully uploaded

  • File: [% SOURCE_FILE | html %]
  • Image name: [% IMAGE_NAME | html %]
[% END %]

Delete Images

[% IF ( TABLE ) %]
Select one or more images to delete.
[% FOREACH TABL IN TABLE %] [% IF ( TABL.header_fields ) %] [% FOREACH header_field IN TABL.header_fields %] [% SWITCH header_field.field_label -%] [% CASE "ID" %] [% CASE "Name" %] [% CASE " " %] [% CASE %] [% END %] [% END %] [% ELSE %] [% FOREACH text_field IN TABL.text_fields %] [% IF ( text_field.select_field ) %] [% ELSIF ( text_field.field_value ) %] [% ELSE %] [% END %] [% END %] [% END %] [% END %]
Image IDNameDelete[% header_field.field_label | html %]
Delete [% text_field.field_value | html %] 
[% IF ( DELETE_SUCCESSFULL ) %]

Image(s) successfully deleted

[% END %]
[% ELSE %]
No images are currently available.
[% IF ( DELETE_SUCCESSFULL ) %]

Image(s) successfully deleted

[% END %]
[% END %]
[% MACRO jsinclude BLOCK %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]