Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

djangocms-photo-gallery

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djangocms-photo-gallery

  • 0.0.3
  • Source
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc