Globals Image Tag keyword?

Was just wondering, is there was a globals image tag keyword?
For example: %globals_image_tag:id%



If not, I'll post a feature request.



Thanks.

[quote]Was just wondering, is there was a globals image tag keyword?
For example: %globals_image_tag:id%[/quote]



If you just want to print an image, you can write HTML like <img src="./?a=xxx" …



But if you want Matrix to print the tag with ALT text etc, you should give this a go: %globals_asset_image_tag:xxx%


Hmm. . . tried that, but no success. Also tried variations such as:
%globals_assets_image_tag:xxx%
%global_assets_image_tag:xxx%
%global_asset_image_tag:xxx%

Having Matrix print the tag would be a huge convenience.

Sorry, I got that keyword wrong. It should have been: %globals_asset_image_tag:xxx%

:blink: . . . looks the same and doesn't seem to be working either.

The 's' on globals is important and there should be no 's' on asset. If that doesn't work, I'm out of ideas.


It doesn't seem to work on v3.16.5, I'm afraid. %globals_asset_name:222% works on my test system, but %globals_asset_image_tag:222% doesn't.

I'm surprised I only just discovered I couldn't do this. Instead I've re-created the image tag with globals_asset_attribute keywords: %globals_asset_attribute_alt:492%

Just learnt that you can also use asset_contents_raw, like so:

%globals_asset_contents_raw:492%

Thanks Bart!