ckanext-galleryview
This extension creates a resource view and lets you add a gallery to any resource you have pictures for. Therefore you can add pictures to a resource without having them uploaded as resource.
In the gallery view you can either upload your pictures or state the URLs.
As seen in the edit view picture, you can add as many pictures as you want. You can give each picture a name which is then put underneath the picture in the gallery view.
The name of the picture is a link to the original picture. When the picture itself in the gallery is clicked, a zoomed view opens.
Installation
To install ckanext-galleryview:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-galleryview Python package into your virtual environment:
pip install ckanext-galleryview
Add gallery_view to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Development Installation
To install ckanext-galleryview for development, activate your CKAN virtualenv and do:
git clone https://github.com/ccca-dc/ckanext-galleryview.git
cd ckanext-galleryview
python setup.py develop
pip install -r dev-requirements.txt
Running the Tests
To run the tests, do:
nosetests --nologcapture --with-pylons=test.ini