@ -30,6 +30,7 @@ _DEFAULT_CONFIG = {
"albums_sort_attr": "name",
"albums_sort_reverse": False,
"autorotate_images": True,
"autoplay": False,
"colorbox_column_size": 3,
"copy_exif_data": False,
"datetime_format": "%c",
@ -39,6 +39,10 @@ theme = "galleria"
# Path to a CSS file that can be used to customize themes
# user_css =
# Enable autoplay in galleries.
# This option only has an effect on the galleria theme for now.
# autoplay = False
# ----------------
# Image processing (ignored if use_orig = True)
@ -93,6 +93,7 @@
});
Galleria.configure({
{% if settings.autoplay %}autoplay: true,{% endif %}
imageCrop: false,
transition: "fade",
thumbnails: "lazy"