<commit_before>.. _options:

=======
Options
=======

Galleria options are defined using a flat object during initialization.::

    $('#galleria').galleria({
        preload: 3,
        transition: 'fade',
        image_crop: true
    });

**Note:** You can define your own options and set defaults for each theme using the Theme builder API.

List of options
===============

carousel
--------

    | type: **Boolean**
    | default: **true**

If **true**, this will activate the carousel when needed. **false** will force it to not appear t all.

carousel_follow
---------------

::
    type: **Boolean**
    default: **true**

Defines if the the carousel should follow the active image.<commit_msg>testing rest<commit_after>.. _options:

=======
Options
=======

Galleria options are defined using a flat object during initialization.::

    $('#galleria').galleria({
        preload: 3,
        transition: 'fade',
        image_crop: true
    });

**Note:** You can define your own options and set defaults for each theme using the Theme builder API.

List of options
===============

carousel
--------

    | type: **Boolean**
    | default: **true**

If **true**, this will activate the carousel when needed. **false** will force it to not appear t all.

----------------------

carousel_follow
---------------

::
    type: **Boolean**
    default: **true**

Defines if the the carousel should follow the active image.
{'fraction_non_alphanumeric': 0.18640504555010512, 'fraction_numerical': 0.001401541695865452, 'mean_word_length': 2.7578947368421054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '299672', 'n_tokens_mistral': 398, 'n_tokens_neox': 379, 'n_words': 158}