cl_image_tag returning wrong URL with active storage

Comments

1 comment

  • Avatar
    Aleksandar Kostadinov

    Hi Barry,

    I saw you created a ticket with us directly, but I'll also ping a similar response here for reference in future.

    If you try the below, does that work for you?

    <%= cl_image_tag(image.asset.key, width: 100, quality: :auto) %>

    If not, it may need accessing via the Attachment if the key property of the blob is not accessible:

    <%= cl_image_tag(image.asset.attachment.key, width: 100, quality: :auto) %>

    How does the URL with the image tag look with those?

    0
    Comment actions Permalink

Please sign in to leave a comment.