Link to image variety from news item

(Lisa) #1


I’m having trouble displaying an image variety within a news item. I’m using a code snippet like this (as created when adding an image using the WYSWIG image button and selecting the variety from the asset map):

… but the variety isn’t being recognised.

So instead of the src being converted to something like this:

It’s coming out something like this:$

The same code on a Standard Page works fine…

Any ideas?


Matrix version:

(Bart Banda) #2

I can’t replicate that in 5.4, so might have been a bug that was fixed since that version.

What happens if you try and remove the last $ symbol?

(Lisa) #3

Thanks for taking a look. It’s the same without the last $, it’s still not parsed right and we get a broken image reference.
We get instead of$

It looks fine in the WYSIWYG editor, and within the ‘preview’ panel on the Preview page, just not when the page is opened up and viewed.


(Bart Banda) #4

That’s strange, can’t remember there being any bugs with that in that version.
You might have to send a ticket in to Squiz support to get further help and get someone to have a look at your system.

ANother thing to try is to just see if the global keyword format works: