[Show/Hide Right Column]

How to use File Galleries
Print

File Galleries User

The file galleries section of Tiki is a download manager, you can create/edit file galleries which are collections of files, you can define with the permission system who can create file galleries, upload files and download files. Statistics are recorded for each download, rankings where defined for the top downloaded files, most visited file galleries and last uploaded files. Modules are also available to display last changed file galleries, last uploaded files, top downloaded files and top visited file galleries.

You can use file galleries to distribute free multimedia (mp3, avis, etc), to distribute software (versions, patches, releases), to add files that users can download from Wiki pages, articles or weblog posts, etc.

Image

If you enable the file galleries section from the admin menu you ll see a menu section in the main menu for file galleries. From the menu according to the permissions you have you will be able to list existing file galleries (where you can create a new gallery) or upload a file to a gallery.

A file gallery is just a collection of files that can be downloaded, files are kept in the Tiki database and the number of downloads for each file are registered.

The List galleries option in the main menu will take you to the following screen:

Listing File Galleries

File Gallery listing
Old~hs~File~hs~Gallery~hs~listing

From this screen you can create a new gallery, edit existing galleries, remove existing galleries, upload a file to a gallery or list the contents (files) of an existing gallery. The options you see as a user depend on the permissions the admins have set for your groups.

Creating file galleries

To create a new file gallery click the create new gallery link and the following form will be displayed.

Image

The same form is displayed to edit and existing gallery, you have to fill the gallery name, a description and the maximum number of rows (files) that will be displayed for each page in the file gallery listing.

You can make a gallery invisible to normal users unchecking the gallery is visible to non-admin users checkbox. This can be used to set-up galleries that can t be browsed but contain files that you will make available for downloading in your site using direct links to download the file.

If you want to allow uploads to this gallery from other users check the checkbox above the edit/create button. If the checkbox is not checked then only the gallery creator or admins can upload files to the gallery.

Uploading files

To upload a file you use the following form:

Image

In this form you enter a title and description for the file, the gallery where the file will be stored and then the file from your local disk to upload. If everything goes well you will see a message indicating that the file was uploaded.

Image

warningBug in Tiki 5.0
In Tiki 5.0, if you have specified that files are stored in the database rather than the file system, and if you can upload files but uploaded image files don't display correctly, try commenting out the last line of the file db/local.php. This bug will be corrected in the next release.

Link to the file using Wiki syntax (substitue in fileId=x: x = the fileId number):

[tiki-download_file.php?fileId=x|file name that you want to display]

Imbed an image

{img src="tiki-download_file.php?fileId=x&thumbnail=y" link="tiki-download_file.php?fileId=x" alt="alternate file name"}

Link to the file using html syntax

<a href="tiki-download_file.php?fileId=x">file name </a>

Batch uploads

(click to expand) Batch Upload Bug in 4.0 and 4.1

If you have the right permission to batch file uploads then you will be able to make a batch upload of files by uploading a .zip file to the gallery and checking the batch-upload checkbox (if you don't check it the zip is uploaded as a single file).

Note that you must only give batch uploading permissions to admin since if users can make batch uploads the results can be unpredictable. Note that you can use the Batch uploads only when you don't use the database to store the content of the files!

Tiki does not unzip files in the subdirectories of the zip.

Once you have some files uploaded to the gallery you can visit the gallery from the gallery listing menu and see the uploaded files:

Listing file galleries and downloading files

Image

From this screen you will see the gallery description and the files uploaded to this gallery (the number of files per page varies), you can order the list by any of the columns in the listing. Clicking the get link in the actions column will download the file to your local disk.

Permissions

The following permissions can be set for the file galleries section:

Image

The tiki_p_admin_file_galleries is a master permission that automatically includes the other permissions.


Contributors to this page: Gary Cunningham-Lee996 points  , xavidp901 points  , wimvincken130 points  , ulfthemoose13 points  , system , sylvie4333 points  , Scot Wilcoxon680 points  , Mose96 points  , luciash d' being1589 points  , Ed16287 points  and campbe13391 points  .
Page last modified on Wednesday 14 July, 2010 06:25:37 UTC by Gary Cunningham-Lee996 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):