Text auto wrapped

Brentjuhh
Brentjuhh Member Posts: 2
edited August 21 in Developer APIs

Hello,

I have a question about this post: Can a text overlay be auto-wrapped?

I'm particularly concerned with the last part. When I use a long text, it automatically goes upwards. How can I fix this?

Example of short text:

Example of long text:

Thank you for your help!

Comments

  • Cloudinary Team
    Cloudinary Team Administrator, Cloudinary Staff Posts: 166 admin

    Hi there,

    Thanks for reaching out.

    If you want to ensure the text doesn't overflow the dimensions of the image, you can set the height and width of the overlay. You can refer to the following section of our documentation for additional information, including examples:
    https://cloudinary.com/documentation/layers#auto_line_breaks

    I hope this helps. If you have any questions, do not hesitate to ask.

    Kind regards,

    Tia

    Helpful Links For You
    💬 Share questions, connect with other users in our Cloudinary Community forums and Discord server!
    🧑‍🎓 Join our Cloudinary Academy for free courses, workshops and other educational resources.
    📄 Read our documentation for in-depth details on Cloudinary product features and capabilities
    📰 Check out the Cloudinary blog for the latest company news and insights