Skip to main content

Image content type for Kotti

Project description

This is an extension to Kotti that allows to add images to your site.

This package is only compatible with Kotti versions >= 1.3.0-dev and later. Earlier versions of Kotti included the Image content type and everything directly related.

pypi downloads_month license build_status_stable

Find out more about Kotti

Development happens at https://github.com/Kotti/kotti_image

Setup

Kotti 1.x

You don’t need to do anything. kotti_image is a requirement of Kotti and automatically setup for you.

Kotti 2.x (not available yet)

To enable the extension in your Kotti site, activate the configurator:

kotti.configurators =
    kotti_image.kotti_configure

Configuration

The initial release doesn’t provide any configuration options. Custom configuration of image scales will be available in future releases.

Upgrading

If you are upgrading from a previous version you might have to migrate your database. The migration is performed with alembic and Kotti’s console script kotti-migrate. To migrate, run kotti-migrate <your.ini> upgrade --scripts=kotti_image:alembic (or kotti-migrate <your.ini> upgrade_all to run all Kotti and add on migrations).

For integration of alembic in your environment please refer to the alembic documentation. If you have problems with the upgrade, please create a new issue in the tracker.

Development

build_status_master

Contributions to kotti_image are highly welcome. Just clone its Github repository and submit your contributions as pull requests.

History

0.1.3 - 2016-01-04

  • Include (empty) alembic/versions directory in distribution to avoid warnings.

0.1.2 - 2015-12-21

  • Use rfc6266 and unidecode for content disposition header.

0.1.1 - 2015-12-16

  • Fix broken packaging.

0.1.0 - 2015-12-16

This initial version is completely identical to what has been in Kotti core before Kotti 1.3.0-dev. Don’t even try to install with those versions!

  • Move all image related code from Kotti core into this package.

  • Create package with pcreate -s kotti kotti_image.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kotti_image-0.1.3.tar.gz (151.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page