Extension Galleryview


Extension Basics

Title
Galleryview
Name
ckanext-galleryview
Type
Public extension
Description
The **galleryview** extension for CKAN provides a way to display image galleries within resource pa
CKAN versions
Download-Url (zip)
Last commit
7 years ago (2018-04-18 11:46:51)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

ckanext-galleryview

Gallery View

This extension creates a resource view and lets you add a gallery to any resource you have pictures for. Therefore you 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.

Gallery View

As seen in the edit view picture above, 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 (picture one).

The name of the picture is a link to the original picture. When the picture itself in the gallery is clicked, the following opens:

Gallery View


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/KatharinaSack/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

To run the tests and produce a coverage report, first make sure you have coverage installed in your virtualenv (pip install coverage) then run::

nosetests --nologcapture --with-pylons=test.
Version
1.0
Version release date
2017-12-20
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
galleryview
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions