How do get only the link to the smaller image, not the actual markup?

Created on 10 January 2023, about 2 years ago
Updated 24 January 2023, about 2 years ago

The README provides information to generate a render array which, when rendered, gives me something like

<img src="/sites/default/files/styles/headshot/public/externals/9/c/9cea6035a3e1d4530da03443fc8b818f.jpg?itok=HgeccO0f" width="363" height="460" alt="Druplicon" loading="lazy" typeof="foaf:Image" class="image-style-headshot" />

How can I get only the "/sites/default/files/styles/headshot/public/externals/9/c/9cea6035a3e1d4530da03443fc8b818f.jpg?itok=HgeccO0f" part? Is there a function like imagecache_external_get_resized_local($external_url, $style)?

💬 Support request
Status

Fixed

Version

3.0

Component

Documentation

Created by

🇨🇦Canada alberto56

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