[% IF data.pageid ; THEN ; status = 'Edit' ; ELSE ; status = 'Add' ; END ; title = status _ ' Gallery Page' ; crumb2_name = 'Gallery' ; crumb2_href = '/album-admin' ; crumb1_name = status ; %] [% INCLUDE "admin/tinymce-short.html" %]

[% IF data.pageid %]Edit[% ELSE %]Add[% END %] Gallery Page

[% IF data.pageid %]

Please note that only 10 photos can be uploaded at any one time. This is due to the time taken on the server to copy your files, create thumbnails and store their information in the database. Photos uploaded can be any size, but will be resized if necessary to fit within a 1024x1024 pixel square. Thumbnails are created to fit within a 100x100 pixel square.

[% ELSE %]

Please enter details for the page you wish to create. Once you have successfully saved the main details, you will then be able to upload photos for the page.

[% END %]
[% IF data.path %] [% END %]
Title * [% data.title_err %]
Summary [% data.summary_err %]
Hide [% data.hide_err %]
Year [% data.year_err %] [% data.ddyears %]
Month [% data.month_err %] [% data.ddmonths %]
Path /[% data.path %] (path is [% IF ! data.exists %]missing [% ELSIF ! data.directory %]not a directory [% ELSIF ! data.readable %]is not readable [% ELSIF ! data.writeable %]is not writeable [% ELSIF ! data.executable %]is not executable [% ELSE %]accessible [% END %] )

[% IF data.pageid %]
[% FOREACH photo = photos %] [% END %]
Order Thumbnail Tagline Cover Hide Delete Actions
[% photo.orderno %] [% photo.tag %] [% photo.image %]
- Tagline
- Metadata
up down

Photo Uploads:

Use the Browse button below to search your hard drive for photos you'd like to upload. Select one photo at a time, which will then appear in the file list box below. You can load up to 10 photos at a time in the file list box. When you have selected the photos you wish to upload, click the Save Page button, and all the selected photos will be uploaded to this page.


File List:

[% END %]