# Image Gallery Config

Note: The most intuitive features are not listed.

You will access the Sections Tiki Admin Panel , as shown in this graphics:

## Image Galleries

Image Galleries

From the Tiki Admin Panel, click the Image Galleries icon to display its settings panel, the top half of which appears like so:

Here you can:

• Choose a home gallery.
• Enable and disable rankings and comments.
• Set the image storage location.
• Choose the graphics library.
• Set regular expressions ("regex") to control uploaded file names.

In the above graphic, the home gallery is set to "Rick's Pix". The home gallery is the default gallery displayed when visitors simply click the menu "Image Galleries" without expanding the menu, or when as the "top page" in your Tiki site if you set the Tiki system home page to be an Image Gallery.

• Push the button when you have finished to configure this feature.

### Galleries features

#### Thumbnails

Generating thumbnails for image galleries (and File galleries) requires a php extension: either GD or Imagick. If thumbnails are not working, check tiki-admin.php?page=gal to ensure tiki has detected one or the other, if not these need to be installed and then restart apache.

#### Use directory to store images

Choose Storage Location: You can decide for images to be stored either in the database, or in a folder on your webserver. Storing images in your database is OK for small images, but a folder is recommended for a high volume site or when your images are relatively large. Note the trailing forward slash in the path entered in the above graphic, but also here in red. Be warned, if you want to restrict access to the images, you have to choose a folder that is not browsable (not inside the document root of your webserver).

Path characteristic checklist:

• Has a trailing slash.
• Is specified from the root.
• Is in a separate folder from Tiki, for better security.
• Has its permissions set (e.g. via the chmod command) to allow uploads by the webserver user.
• Has enough space to allow storage of your expected image volume.

If you take a look at your folder after uploading some images, you can see that Tiki randomizes the filenames, as shown in this graphic:

Troubleshooting Tip: If you are having trouble with image uploads, you can edit settings in your PHP.ini, or, place an .htaccess file in the root of your tiki installation.

# Partial .htaccess file sample.
#
# Override PHP.ini variables, which can be viewed using PHPinfo:

php_value post_max_size         "32M"
php_value max_execution_time	300
php_value max_input_time        300

#other params interesting (NOT for file upload specifically)
php_value memory_limit 		"32M"
php_value session.cache_expire    20000

# Zero means unlimted request body size:
LimitRequestBody 0



Troubleshooting Tip: If you encounter random errors and webserver crashes, you may have updated your apache, but forgot to update/recompile your graphics library. The apache error log will give you some hints..

#### Library to use for processing images

Choose Graphics Library: You can choose which software library to use for manipulating images. Currently, your choice is:

• GD
• Image Magick

See below links to the GD and Image Magick sites.

#### Uploaded images names cannot match regex

• Push the button when you have finished to configure these features.

Now, take a look at the bottom half of the Image Galleries admin panel, as shown in this graphic:

### Remove images in the system gallery...

This is a link for removing images in the system gallery, which are "orphaned" and not used in Wiki pages, blogs or articles. A useful function for space-saving in the database.

• Click on the link to remove images

Here you can control the display of fields in the Gallery Listings.

• Push the button when you have finished to configure these features.

Here you can make settings regarding to comments.

• Push the button when you have finished to configure these features.

New feature in introduced in TikiWiki 1.10
It's third party LGPL-ed JS library which adds eye candy for displaying images and other documents including multimedia.

More documentation

Related Information

### Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Clean URLs
Communication Center
Compression (gzip)
Content Templates
Contribution
Credit
Date and Time
Debugger Console
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
File Gallery
Forum
Friendship Network (Community)
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Payment
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Stats
Surveys
Tags
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Trackers
Transitions
TRIM
User Administration including registration and banning
User Files
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC