Introduction
This is a very basic gallery app that integrates with Wagtail. It allows a person to upload images and order them on a gallery page. Said gallery page then shows the low-res thumbnails, and when clicked it opens up a high res version with captions.
This app is simple, and not feature rich. It does the basics and thats it. I will probably add more features and options to it as time permits, but only if requests are made.
It is also not production ready as there are no tests currently written for it. I did put this up on a site and they have been using it extensively and haven’t had any reported issues. That said, apps without tests should always be treated sceptically.
I hope to write tests in a month or so when I get a bit of free time. I also hope to add a bunch of features in the near future.
Please report any errors you encounter. I will try resolve them quickly and then add tests for them as things come up so it doesn’t reoccur. Please visit wagtail_gallery git to make pull requests or log issues etc. Documentation is at readthedocs.io: wagtail_gallery documentation
Installation
To install run pip install wagtail_gallery
It should automatically install all the necessary dependencies.
Remember to add wagtail_gallery (along with the others mentioned) to your installed apps in settings.py i.e.
INSTALLED_APPS = [ ... 'wagtail_gallery', 'wagtail.contrib.routable_page', 'wagtail.contrib.modeladmin', 'django_social_share', ]
Requirements:
python3 wagtail django django-social-share
I’m not quite sure how far back this app works; however, it should work going back quite far. It’s currently tested on Python3 with Wagtail >2 and Django >2 on openSUSE. It should work on all platforms and shouldn’t break anytime soon. Let me know if you have a combo that doesn’t work and I’ll see what I can do to support it.
Caveats
I haven’t implemented sub-categories at all. Its a planned feature.
You can only have one Gallery Root Page at this point in time. I really do want to add the ability to have many. I just haven’t gotten round to it. It should be quite simple.
URLs are not yet fully internationalised as /category/ isn’t translated. I’ll get to this eventually.
All galleries are public. No permissions have been integrated; however, this is a planned feature.
Metadata
Release files for wagtail-gallery 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wagtail_gallery-0.1.1.tar.gz | 1.2 MB | Without provenance | Details for wagtail_gallery-0.1.1.tar.gz |
Release files / wagtail_gallery-0.1.1.tar.gz
| Download URL | wagtail_gallery-0.1.1.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1873f93fde79a111ddd3012c41d43572d22aa0a988f97789780afa81d0b730b6
|
|
BLAKE2b-256 checksum How to use checksums |
4f75e125d98e0c865ac5a305ccc434a326c5e56cb138aaf1fbf392048831c1c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
|
Security for wagtail-gallery 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.