Skip to main content

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.

build_status_stable pypi license

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

To enable the extension in your Kotti site (pip install kotti_image), 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

  • Drop support for Python 2.

  • Remove dependency from rfc_6266_parser and use depot.utils.make_content_disposition instead.

1.0.1 - 2018-03-16

  • Use rfc_6266_parser instead of unmaintained rfc_6266 package.

  • Fix tests for Kotti >= 2.0.0 / Python 3.x.

1.0.0 - 2018-01-17

  • No functional changes. Maintainance release for Kotti 1.x.

  • Integrate filedepot tween / filter test from Kotti < 2.0.0.

0.1.4 - 2016-10-09

  • Correctly declare dependencies.

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.

Metadata

Release files for kotti-image 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kotti-image 2.0.0
File Size Uploaded
kotti_image-2.0.0.tar.gz 156.2 kB Details

Release files / kotti_image-2.0.0.tar.gz

Download URL kotti_image-2.0.0.tar.gz
Size 156.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5c4e6d1574fa610e7c45d2809d3ed55535820f600dc9fdf2485b07a88c30b405
BLAKE2b-256 checksum
How to use checksums
5ef82e387e0189ae0906ec285c2d22b82cfac0b13f8d2262f8267d0abb9c3fb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page