Setting File Gallery Options

The Tiki file gallery is where you'll store the images, documents, attachments, and anything else you (or your site visitors) may need to upload.

 Note

Later, you will see how to further configure and customize additional gallery options and create multiple galleries..


Setting the wiki

  1. Select the Storage location for the file gallery items: Database or Directory.
    The database may be more secure, since web surfers would not be able to edit or change the file unless they had access to your database. The directory option may be better for performance, since Tiki would not have to issue a database query each time a file was displayed.

    If you use a directory, you must make the directory writable. See Set Directory Permissions for more information. You also need to protect the directory and ensure that users cannot directly access the files. You can accomplish this by using a directory outside your Tiki root (make sure your PHP script can access the directory) or by using an .htaccess file to prevent users from listing the directory's contents.

     Warning

    If you store files in the Directory, do not change the directory location after you have updated files to the gallery. If you do, you must manually move the files to the new location — Tiki does not store the directory location at the time of the upload. Therefore, if you change the directory location after uploading several files, Tiki will be unable to locate the older files.
  2. Leave the other options as their defaults and click Save and Continue. Tiki saves the changes and loads the next wizard page.

<HR>

Copyright

This guide is based on content originally published by KeyContent.org.

This guide is Copyright (C) 2007-2013, 2019 by Rick Sapir and others under a Creative Commons Attribution-Share Alike 4.0 License. Some rights reserved.

Essentially, you are are free:

Image

to Share — to copy, distribute and transmit the work
Image

to Remix — to adapt the work


Under the following conditions:

Image
Attribution. You must attribute the work to me, as the original licencor, but not in any way that suggests that I endorse you or your use of the work.
Fair attribution includes a return link to http://tikiforsmarties.com (for online use) and mention of primary author (Rick Sapir) and original publisher (KeyContent.org).
Image

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license.


Please read http://creativecommons.org/licenses/by-sa/3.0/legalcode for the full license.

Tiki®, TikiWiki® and the Tiki logo are registered trademarks of the Tiki Software Community Association, used with permission.