Frontend js SDK implimentation with backend SDK
I hope this message finds you well. I recently reached out to your team regarding the implementation of the Cloudinary upload widget in conjunction with a Django Python backend server. Thank you for your prompt response; it was greatly appreciated.
However, I still have a question regarding the integration process. I'm aiming to seamlessly integrate the Cloudinary upload widget within the frontend of my application, while also ensuring that it's tightly bound to the backend server. Despite my efforts, I haven't been able to locate comprehensive documentation within the frontend widget SDK that details the steps for properly connecting the frontend widget to the backend server.
Could you kindly assist me by providing guidance or documentation that specifically outlines how to bind the Cloudinary frontend widget SDK with a Django Python backend server? I believe having a clear set of instructions would immensely help in achieving a successful integration that meets both frontend and backend requirements.
Thank you for your attention to this matter.
Answers
-
Hi there,
I’m happy to help you with your question.😊
To integrate the Cloudinary upload widget with your Django Python backend, you need to follow these steps:
- Install the Cloudinary Python SDK and configure it with your Cloudinary account credentials.
- Add the Cloudinary upload widget script to your HTML template.
- Initialize the widget with the cloudName and uploadPreset parameters.
- Optionally, you can customize the widget appearance and behavior using additional parameters.
- Handle the success event of the widget to get the uploaded file details and store them in your backend database.
You can find more details and examples in the following links:
Hope you find it useful.
Regards,
Wissam
0