Do you have a Python and Django sample code for uploading and transforming images?

Cloudinary provides a library for simplifying the integration even further, along with Python and Django sample code for uploading and transforming images.

You can find sample projects that demonstrate common Cloudinary's usage in Python and Django:

Basic sample for Python:

https://github.com/cloudinary/pycloudinary/tree/master/samples/basic

This sample is a synchronous script that shows the upload process from local file, remote URL, with different transformations and options.

Photo Album for Django:

https://github.com/cloudinary/cloudinary-django-sample

A simple web application that allows you to uploads photos, maintain a database with references to them, list them with their metadata, and display them using various cloud-based transformations.

Have more questions? Submit a request

Comments

Powered by Zendesk