Piwigo Documentation (EN)
  • Français (FR)

Search

Get started

Import and manage photos

Browsing your gallery

Organizing albums

Managing tags

Comments and rating

Managing users

Themes

Customizing your gallery

Administrating Piwigo

Plugins

Mobile apps

Piwigo self-hosting

Your feedback about this doc

🇬🇧
Piwigo Documentation
🎨

Piwigo themes: introduction

What is a theme in Piwigo?

As you probably already know, Piwigo is separated into two interfaces:

  • the administration, which is only accessible to administrators;
  • the gallery, which can be accessible to common users, and even to all visitors if your gallery is public.

Your Piwigo gallery is a website that can be customized: colors, fonts, page layout…

But in order to customize your gallery, you first need to choose a theme, or "template": this is your gallery's model.

To view various examples of customization, based on different themes, you can visit our Demos page.

You can also discover a blog article, which showcases 8 examples of graphic customization for Piwigo.

Default themes

Piwigo always comes installed with two themes activated by default:

  • Modus, in its black and white version, is the theme used by your gallery when accessing it from a computer;
  • image
  • Smart Pocket, a theme that will only be displayed from a phone or a tablet.
  • image

But naturally, you can choose:

  • to edit the colors of the Modus theme
  • to use another theme for your gallery
  • to deactivate the Smart Pocket mobile theme (in this case, on a mobile screen, your gallery will use the same theme as with a computer. This is not a problem with the Modus and Bootstrap Darkroom themes, which are responsive, meaning they adapt to all screen sizes).

Piwigo.com customers and self-hosting: the differences when adding a new theme

Do you want to add a new theme? First of all, you should know that things are slightly different depending on whether you have an account on piwigo.com or are using a self-hosted Piwigo gallery.

‣
I am using a self-hosted gallery
‣
I have a Piwigo account hosted on piwigo.com

Managing themes in Piwigo

To view, edit and set up your theme in Piwigo, go to the administration and click on Configuration > Themes in the menu on the left.

At the top of the screen, under "Active themes", you can see the theme(s) activated in your gallery.

Further down, under "Inactive themes", you can see the themes that are installed but not activated.

image

When a theme is activated, this means it can be displayed in Piwigo.

If you set it as "default", it will be displayed by default for all new users.

But for each user, you can set which theme is displayed for them specifically: this is why it is possible to activate multiple themes at once.

ℹ️
In the vast majority of cases, users only activate one theme, the same for all users (apart from the Smart Pocket theme, which, when activated, is automatically displayed when viewing the gallery from a mobile device).

Changing the default theme

If you want to change the default theme in your gallery, it's really simple.

From the screen available from the Configuration > Themes menu, choose the theme you want to display in your gallery and click on the Activate button.

image

Once activated, this theme is available in your gallery, but it isn't displayed by default yet: to do this, you need to click on "Set as default".

image

Go to your gallery: the new theme is taken into account.

Setting up your theme

Choosing a theme is only a first step in the customization of your gallery: indeed, most themes offer configuration options, allowing you to:

  • edit your gallery's colors
  • edit some display options
  • add customization elements (logo, banner...)
  • activate optional components

The most recent themes, Modus and Bootstrap Darkroom, offer many color styles and configuration options. Other older ones are not customizable.

We recommend you explore the options of the main themes to make your choice.

Introduction to the main themes

Modus

Modus is the theme that's activated by default in Piwigo. It is a modern, responsive theme, which offers a guaranteed compatibility with most plugins. Its browsing menu is horizontal.

image

It offers 18 different color sets, which you can choose in its configuration options.

image

It also lets you:

  • customize the size and format of your albums' thumbnails (square 250x250 pixel thumbnails by default)
  • add a banner in your gallery

Read the documentation for the Modus theme

Bootstrap Darkroom

It's currently the second most popular theme after Modus.

Bootstrap Darkroom is a modern, responsive, and very customizable theme. It is based on the Bootstrap 4 framework, a very popular open source project in the world of web interface creation. Its browsing menu is horizontal.

image

Bootstrap Darkroom has over 30 extremely varied color styles.

image

In addition to these color styles, Bootstrap Darkroom offers many configuration options:

  • Adding a logo
  • Adding a banner (image, text)
  • Editing many display options
  • Adding custom CSS code
  • Adding social media share icons
  • …

Read the documentation for the Bootstrap Darkroom theme

Elegant

Elegant is a theme that was very popular for many years and is still used a lot. It features a vertical browsing menu, on the left side of the screen. The albums are displayed as large blocks instead of thumbnails, which allows for descriptive text for each album if you want.

image

Colors can't be edited directly from the Elegant theme configuration: piwigo.com customers need to contact support to request it or to get access to Piwigo's style sheet.

Elegant offers some configuration options:

  • Showing or hiding the menu side panel
  • Showing or hiding the photo description side panel
  • Showing or hiding the comment panel

How do I test a theme without making it visible for everyone?

As we saw, it is possible to activate multiple themes on Piwigo, but only the default theme is displayed for all users.

Therefore, if you want to test a theme without making it accessible to everyone, it's very simple.

Simply activate it from the administration, in the Configuration > Themes menu.

Next, go to your gallery and to the "Customize" menu. This menu lets you edit your preferences. This way, you can switch themes: this change will only be visible to you.

image

Switching themes easily with Theme Switch

If you want to make switching themes in your gallery even easier, you can activate the Theme Switch plugin.

Once activated, this plugin adds a paintbrush-shaped icon in your gallery, which lets you switch themes in one click.

ℹ️
Warning: this icon is visible to all visitors, not only administrators.
image

Switching themes easily with Admin Tools

The Admin Tools plugin offers many possibilities for accessing administration actions from your gallery.

Among others, it lets you switch themes easily.

When this plugin is activated, an additional menu is added when an administrator logs into the Piwigo gallery. The Option button, in the top right, lets you switch the active theme with one click. This is only visible to you.

image
ℹ️
This plugin also lets you switch languages with one click or view your gallery as any other user: therefore, it is very useful for testing.

Learn more about the Admin Tools plugin

Article summary

  • What is a theme in Piwigo?
  • Default themes
  • Piwigo.com customers and self-hosting: the differences when adding a new theme
  • Managing themes in Piwigo
  • Changing the default theme
  • Setting up your theme
  • Introduction to the main themes
  • Modus
  • Bootstrap Darkroom
  • Elegant
  • How do I test a theme without making it visible for everyone?
  • Switching themes easily with Theme Switch
  • Switching themes easily with Admin Tools

Next →

The Modus themeThe Modus theme
Logo

Support

Piwigo.org forum

Support (customers only)

Discover Piwigo

Download Piwigo

Create an account (free trial)

News

Latest Release: Piwigo 14

Latest news on piwigo.org

Latest blog posts

Copyright Piwigo 2024

LinkedInXYouTube