# Coppermine Photo Gallery v1.5.x: Documentation and Manual

# User-contributed themes

Coppermine comes with some pre-made themes to give users a place to start with. On sub-board "cpg1.5 theme contributions", you will find additional themes that you can download and use with your coppermine-driven gallery.

## Preview user-contributed themes

You can preview all themes that we're aware of on the demo for cpg1.5.x - just use the dropdown list at the top of the page to browse the themes and see the demo skinned with a particular theme. This way, you can find out how the different coppermine pages (index, thumbnail page, individual pic) look like using a particular theme.

If you just want an overview, there are hardcopies (screenshots) of the index pages of most themes available within the demo gallery album "User-contributed themes". For an even quicker overview, just watch the slideshow of this album. However, the albums sometimes lags behind a bit and won't contain the most recent theme contributions - the screenshots are only being updated once in a while.

## Download user-contributed themes

You can download all user-contributed themes that we're aware of from our downloads repository on sourceforge.net

Subsequently: if a theme doesn't exist in the downloads section nor the demo page, we don't have it. There's no use in asking for additional themes.

## Installing user-contributed themes

The theme packages come as archive files (usually zip files). To use a particular theme, download the theme package and then unarchive the zip file to your hard drive, preserving the folder structure within the zip file. Then use your FTP application to upload the entire folder to your webserver (into the "themes" sub-folder of your coppermine install).

Let's assume that you have downloaded a theme package named cpg1.5.x_theme_foobar.zip and your coppermine-driven gallery resides in `http://your_site.tld/your_coppermine_folder/`. Unpack the archive to your desktop - you should then find a folder on your desktop that is named "foobar". Upload this folder (using your FTP app) to your webserver into the folder that corresponds to `http://your_site.tld/your_coppermine_folder/themes/`

Subsequently, you should have a structure on your webserver that looks like this: `http://your_site.tld/your_coppermine_folder/themes/foobar/`.

In the next step, test drive your new theme by adding the parameter `theme=foobar` to the address bar in your browser (in above example, you would go to `http://your_site.tld/your_coppermine_folder/?theme=foobar`). Make sure that everything works as expected. If it does, make the new theme (that currently is only visible for you as admin, because you forced the use of this particular theme by adding the URL parameter) the default theme of your coppermine gallery (i.e. make the theme visible for all your site visitors) by going to Coppermine's config, selecting your new theme "foobar" from the dropdown list under "Themes settings" > "Theme" and submitting your change by clicking "Save new configuration" at the bottom of the config screen. Finally, check if your settings stick by resetting your individual theme choice - go to `http://your_site.tld/your_coppermine_folder/?theme=xxx`.

## Copyrights of user-contributed themes

Coppermine itself is being released under the GNU GPL license, which basically means that you're allowed to use it on your web page (both for non-commercial as well as commercial websites). This applies to the themes that come with the coppermine package as well.

However, the user-contributed themes may come with another, different license. If this is the case, the theme package that you can download comes with a readme file that explains copyright details and the terms of use of that particular themes.

Some themes might for example make it mandatory that a link to the theme author's homepage stays intact. Others might allow the particular theme to be used on non-commercial sites only. We urge you to respect the license the user-contributed themes come with - please read the corresponding readme files.

## Asking for support on user-contributed themes

Most user-contributed themes have a separate announcement thread of the sub-board "cpg1.5 theme contributions". If you have issues with a particular user-contributed theme, make sure to have checked the corresponding announcement thread on this board. There is a fine line though between asking a valid question or posting a valid remark on a particular theme and cluttering it by asking for individual issues. If you're not sure if your questions belongs into the announcement thread, start your own thread on the support board. Your post should contain a link to your coppermine-driven gallery and a link to the theme announcement thread.

There's no guarantee that the author of a particular theme is willing to support his theme. This being said, you have to understand that there will be only limited support for user-contributed themes.

## Contributing your own theme

Your theme contribution is always welcome. Regular users can not post on the sub-board "cpg1.5 theme contributions" to avoid it from being cluttered with irrelevant postings. Therefore, if you want to contribute your theme, start a new thread on the board "cpg1.5 themes/skins/templates". Zip your theme and attach it to your posting (using "Additional options" when composing your message). A preview page (i.e. a link to your coppermine-driven gallery that shows your theme) would be welcome as well. A moderator will move your theme thread to this board if applicable.

While it's not mandatory, we would welcome it if you could clearly label the license of your theme contribution. If you fail to specify a particular license, we will assume that you are going to release your theme contribution under the GNU GPL (the same license Coppermine itself is being released with). If you haven't created your custom theme from scratch, but have built it based on another theme, you better review the license of that theme first.

It is acceptable to require the preservation of a link to the theme author's site in a theme, so this could be a motivation for you to contribute your theme to the community: your site will gain popularity and relevance in search engines if your theme becomes popular.