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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18d2ac8055aafcdc1819770fe8f62a79484f828d04cc24980f8fec32a14213bc |
|
MD5 | d48bb3efa5ba77201aa1ed64ef29ca0f |
|
BLAKE2b-256 | 6bcc8194dd2b8488caf6411f88440d1f93f8b3f82342036b5d87d7692a081801 |
Close
Hashes for djangocms_photo_gallery-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97fd7d9ce9fa4464055c1bdbb39dbc4dca6c8b54a07fb34403b5fd0c016acca4 |
|
MD5 | 8b40b9f7db591922cf143ee373eb3529 |
|
BLAKE2b-256 | 4777fa9afe49ba56a3100fc620b2a18f18c302941e5beb4b4df021906faec30f |