How to use CloudinaryField to accept images/url from other sources?
@lukitsbrian is already working on this.
Since Feb 26, 2020.
Assessment
This issue has not been assessed yet.
Description
I used Django package cloudinary==1.19.1
models.py
class Category(models.Model):
name = models.CharField(max_length=255)
url = models.CharField(max_length=255)
image = CloudinaryField(null=True)
image_source=models.CharField()
I want to use the image field to accept images that uploaded from admin, also some of my background tasks add the image URLs to that field depends on the image_source.
Possible image sources are: Google, Facebook, cloudinary or CloudFront
For example: When the image source is from google, I just want to save the complete image URL() instead of uploading the actual image to cloudinary and saving the id
How do I achieve this?
@brian-cloudinary @const-cloudinary @cloudinary @CloudinaryLtd
- Dominant language
- Python
- Stars
- 262
- Forks
- 133
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudinary/pycloudinary
-
resources_by_asset_folder Not workingMay be free again @someshfengde claimed this 775 days ago, and no pull request is open. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
cloudinary/pycloudinary#386 · 3 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
cloudinary/pycloudinary#385 · 2 comments ·
-
cloudinary.api.resources_by_asset_folder ErrorMay be free again @atdcloud claimed this 1266 days ago, and no pull request is open. Openquestion
cloudinary/pycloudinary#349 · 1 reaction · 1 assignee ·
-
Feature: Bad Format exceptionMay be free again @const-cloudinary claimed this 2139 days ago, and no pull request is open. Open
cloudinary/pycloudinary#266 · 2 comments · 1 assignee ·
-
CloudinaryFileField doesn't show checkbox for clear the fieldMay be free again @YomesInc claimed this 2229 days ago, and no pull request is open. Open
cloudinary/pycloudinary#258 · 2 comments · 1 assignee ·
All issues in cloudinary/pycloudinary
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
peach-mitao/peach#693 ·
Maintainers usually reply within 1 day
-
FTP reads inside a transaction use a nonexistent staging pathPossibly taken @Harsh23Kashyap claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
fsspec/filesystem_spec#2463 ·
Maintainers usually reply within 1 day
-
comp/cli P2 tool/code-exec type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#155989 ·
Maintainers usually reply within 1 day
-
PipesFileMessageReader parses a partially written message line: tail_file yields a line before its newline arrivesPossibly taken @PCTEJA claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
dagster-io/dagster#34442 ·
Maintainers usually reply within 1 day