No project description provided
Project description
djangocms-photo-gallery
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for djangocms_photo_gallery-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6da64b8c5f4976f46d0e6189f27264a86a481acbf5bae20cd3c7f5cddcdb89ab |
|
MD5 | 10d42f34f040719a02d22d78aa69c7f2 |
|
BLAKE2b-256 | d9da437ca7fc5cc64e87a02019fcc6137dbea4050dd0ca5b0540144f4e5cf9db |
Close
Hashes for djangocms_photo_gallery-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce20bf36a1f81c7a4aa41afc81da0e54e9a4a15eaece53fed4b73af924d93db8 |
|
MD5 | 7d7dafc2371d1464727a4c7f565da7e1 |
|
BLAKE2b-256 | 225f82815d3cdb854083e57c8a3b74430ecb7d28f3659301a63680a786c38819 |