Search
Other Articles Anywhere questions
Forum

Media custom field value returning strange url in Joomla 4

Thomas Venugopal's Avatar Thomas Venugopal
I have a media custom field which works in Joomla 3.

This

{articles category="267" id="input:ba"}[badge layout="false"]{/articles}

returns this:

<img src="images/apple.png" alt="Apple" title="Apple">

After migration, the image doesn't appear anymore. I went to the media custom field and picked the image from the filesystem again, and now the image does show up again. BUT: The Path to the image in the media custom field changed from

images/apple.png

to

images/apple.png#joomlaImage://local-images/apple.png?width=256&height=256

So, when I try to show the value like this:

{articles category="267" id="input:ba"}[badge:value]{/articles}

I get this:
{"imagefile":"images\/apple.png#joomlaImage:\/\/local-images\/apple.png?width=256&height=256","alt_text":""}


I read this, but there is nothing documented regarding this media custom field behavior in Joomla 4: docs4.regularlabs.com/articlesanywhere/d...-media-custom-fields

Question: How can I output just the usual real path?
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Thomas Venugopal's Avatar Thomas Venugopal
With the latest dev version, the path of a selected image gets: images/apple.png#joomlaImage://local-images/apple.png?width=256&height=256
Peter van Westen's Avatar Peter van Westen ADMIN
That is something Joomla does, not Articles Anywhere.
Please post a rating at the Joomla! Extensions Directory
Thomas Venugopal's Avatar Thomas Venugopal
Then your latest dev version fixes the / issue.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription