Skip to main content

Why is part of the column data output from the database?

Comments

2 comments

  • Brian Luk

    Hi,

    It seems like you are being returned with the string, which is the public_id of the asset.

    I would recommend using Django template tags to generate the URL.

    For example, you can include the following in your template -

    {% load cloudinary %}

    and

    {% cloudinary "{{ post.images }}" width=100 height=150 crop="fill" %}

    More information on integrating with Django is available in our documentation here:

    https://cloudinary.com/documentation/django_image_manipulation

    Hope this helps!

     

    1
  • devkd

    Hi Brian, and  thanks for the help!


    {% cloudinary post.images alt=post.title  %}

    This help my =) 

    0

Post is closed for comments.