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:
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 http://website.com/folder/gallery1.jpg:v2 instead of http://website.com/folder/gallery1.jpg:v2$
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.
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: %globals_asset_assetid:188249^as_asset:image_v_<image_variety_name>%