Skip to main content

Cloudinary support for Wagtail CMS

Project description

# Use cloudinary within wagtail

## About

This package adds Cloudinary support to Wagtail CMS

![cloudinary images in wagtail admin](./wagtailcloudinary.png)

## Installation

`pip install wagtailcloudinary`

Wagtail 2.4 and Django 2.1 are supported.

## Configuration
Add app wagtailcloudinary in your INSTALLED_APPS list. Also add cloudinary if not already done.


in put your cloud_name, api_key and apy_secret into cloudinary configuration

import cloudinary


Next edit your like this:

from wagtailcloudinary import site

urlpatterns = [
url(r'^wagtailcloudinary', include(site.urls, namespace="wagtailcloudinary")),

## Usage


from wagtail.wagtailadmin.edit_handlers import FieldPanel
from wagtail.wagtailcore.models import Page
from wagtailcloudinary.fields import CloudinaryField, CloudinaryWidget

class SomePage(Page):
image = CloudinaryField()

content_panels = Page.content_panels + [
FieldPanel('image', widget=CloudinaryWidget),

Or use in a streamfield

`from wagtailcloudinary.blocks import CloudinaryImageBlock`

Project details

Download files

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

Files for wagtailcloudinary, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size wagtailcloudinary-1.0.0-py3-none-any.whl (17.6 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size wagtailcloudinary-1.0.0.tar.gz (12.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page