Skip to main content

No project description provided

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms_photo_gallery-0.0.3.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distribution

djangocms_photo_gallery-0.0.3-py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page