Skip to content

MacLake/djangocms-photo-gallery

Repository files navigation

djangocms-photo-gallery

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install djangocms-photo-gallery

Settings:

INSTALLED_APPS: list[str] = [
    # …
    'easy_thumbnails',
    'djangocms_photo_gallery',
]

THUMBNAIL_ALIASES: dict[str, dict[str, dict[str, any]]] = {
    # …
    'djangocms_photo_gallery':
        {
            'overview': {
                'size': (300, 200),
                'crop': 'smart',
                'upscale': True
            },
            'popup':
                {
                    'size': (1400, 1400),
                    'crop': False,
                    'upscale': False
                },
        },
}

The following CSS and JS libraries should be included in you base template, which should be named base.html:

Alternatively you can change the templates and use libraries of your choice.

License

djangocms-photo-gallery is distributed under the terms of the MIT license.

About

Photo gallery for django CMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published