Using Options

The Galleria options cover most of the gallery customizations you will need for each implementation. In the  option list  you will find a summary of all options available. 

These options are the standard options that you can use for all themes. However, themes can add new options and set/modify default values on their own. Please check each theme documentation for full coverage. Custom options for each theme starts with an underscore.

Galleria options can be configured at anytime using the Galleria.configure function. You can add this code anywhere in your scripts, but we recommend you to put it before the Galleria.run command:

<script>
Galleria.loadTheme("themes/classic/galleria.classic.min.js");
Galleria.configure({
    transition: 'fade',
    imageCrop: true
});
Galleria.run();
</script>

You can also add options as a second argument when calling Galleria.run:

Galleria.run('.galleria', {
    transition: 'fade',
    imageCrop: true
});