ckanext-tif-imageview-1.0.3
توضیحات
A ckan extension for showing TIF images as resource preview
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ckanext-tif-imageview-1.0.3 |
| نام | ckanext-tif-imageview |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Pooya Oladazimi, Technische Informationsbibliothek(TIB) |
| ایمیل نویسنده | pooya.oladazimi@tib.eu |
| آدرس صفحه اصلی | https://github.com/TIBHannover/ckanext-tif-imageview |
| آدرس اینترنتی | https://pypi.org/project/ckanext-tif-imageview/ |
| مجوز | AGPL |
# 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:
1. Activate your CKAN virtual environment and install the extension:
> . /usr/lib/ckan/default/bin/activate
> pip install ckanext-tif-imageview
2. 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
3. Add `tif_imageview` to the `ckan.plugins` setting in your CKAN
config file (by default the config file is located at
`/etc/ckan/default/ckan.ini`).
4. 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
نحوه نصب
نصب پکیج whl ckanext-tif-imageview-1.0.3:
pip install ckanext-tif-imageview-1.0.3.whl
نصب پکیج tar.gz ckanext-tif-imageview-1.0.3:
pip install ckanext-tif-imageview-1.0.3.tar.gz