ckanext-tif-imageview
The CKAN extension for TIFF images preview.
The plugin tif_imageview converts the target tif image to the jpeg format for showing the preview of the image. It does not change or replace the original tif image.
Requirements
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
|---|---|
| 2.9 | Yes |
| earlier | NoT Tested |
Installation
To install ckanext-tif-imageview:
-
Activate your CKAN virtual environment and install the extension:
> . /usr/lib/ckan/default/bin/activate > pip install ckanext-tif-imageview -
OR, Clone the source and install it on the virtualenv
git clone https://github.com/TIBHannover/ckanext-tif-imageview.git cd ckanext-tif-imageview pip install -e . pip install -r requirements.txt -
Add
tif_imageviewto theckan.pluginssetting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini). -
Restart CKAN. For example if you've deployed CKAN with Nginx on Ubuntu:
sudo service nginx reload
Config settings
Modify ckan.ini (/etc/ckan/default/)
# add the plugin to:
ckan.views.default_views
Metadata
Release files for ckanext-tif-imageview 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_tif_imageview-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / ckanext_tif_imageview-1.0.3-py3-none-any.whl
| Download URL | ckanext_tif_imageview-1.0.3-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a12a7c11f8986b3b8d531f45f2e1e96aacbd674ec83b7f90ca7675aec32282c6
|
|
BLAKE2b-256 checksum How to use checksums |
f72b4a2a88ee5a64f768abae256de9c1e2a40d6b6dba156c9ee99f24106f6038
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|