Answer the question
In order to leave comments, you need to log in
Why is part of the column data being output from the database?
I use cloudinary to store images. I upload them through the native junga admin panel:
images = CloudinaryField('Картинка для главной страницы', null=False, width_field='image_width',
height_field='image_height')
<img class="main_img" src='{{ post.images }}' alt="{{ post.title }}">
<img class="main_img" src="vcoxk9dkjgfqfjicr1dl" alt="Первая статья">
Answer the question
In order to leave comments, you need to log in
Cloudinary has a template tag:
{% load cloudinary %}
{% cloudinary photo.image.public_id className="my-class" height=200 width=100 %}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question