image url as token

Created on 14 October 2020, about 4 years ago
Updated 13 February 2024, 11 months ago

I encountered the same problem as the parent issue, which is closed. To summarize, I am using an Image field and can only get the URI (ex: public://image.jpg) whereas I need the URL (ex: https://site.domain/image.jpg)

I was able to put together a simple fix, which checks for presence of a URI key, and if it's found, creates a derivative URL key from it.

💬 Support request
Status

Closed: duplicate

Version

1.7

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024