A simple gallery app built for Wagtail CMS and Django
Project description
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.
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
File details
Details for the file wagtail_gallery-0.1.1.tar.gz
.
File metadata
- Download URL: wagtail_gallery-0.1.1.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1873f93fde79a111ddd3012c41d43572d22aa0a988f97789780afa81d0b730b6 |
|
MD5 | cbfb5937e73480f11952d552fb936708 |
|
BLAKE2b-256 | 4f75e125d98e0c865ac5a305ccc434a326c5e56cb138aaf1fbf392048831c1c4 |