Extension Gallery View


Extension Basics

Title
Gallery View
Name
ckanext-galleryview
Type
Public extension
Description
Creates a resource view that lets you add a gallery to any resource with pictures. Allows uploading pictures or specifying URLs.
CKAN versions
Download-Url (zip)
Last commit
7 years ago (2018-04-18 13:46:51)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

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:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install the ckanext-galleryview Python package into your virtual environment:

    pip install ckanext-galleryview
    
  3. 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).

  4. 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
Version
1.0
Version release date
2017-12-20
Contact name
Climate Change Centre Austria
Contakt email
(not set)
Contact Url


Installation Guide

Configuration hints

Available on PyPI. Supports uploading pictures or specifying URLs for gallery images.

Plugins to configure (ckan.ini)
gallery_view
CKAN Settings (ckan.ini)
# No specific environment variables documented
DB migration to be executed
(not set)
<< back to Extensions