Asset Id as a value of metadata key

Hello everyone, I have a question


Is it possible to put asset id as a value of metadata key?



I am using metadata to classify features of the facilities parks would have: Toilets, BBQ, Playground …

Each one has an icon assosiated with it. What I want is to output icons on a front end by outputing metadata value?



Is it possible?



Is there better way of doing it?

Yes, you can put the asset id as metadata, but you can't use it in the form ./?a=1234


Store the id seperately, then combine the 2 with a keyword, eg:



<img src="./?a=%asset_metadata_assetid%" />