I checked the source code of an output page, which uses GetImage() method to display images that uploaded by page editor. If I uploaded an image test.jpg, the source code will be something like this
<img alt="" src="/getattachment/a83b64af-d506-433c-9bda-0db4c8718d78/test.aspx" />
Now I want to add an attribute into the image, e.g "Title". So I want it output like
<img alt="" src="/getattachment/a83b64af-d506-433c-9bda-0db4c8718d78/test.aspx" Title="This is an example title"/>
In this way, my js could use the "Title" attribute. How to add attributes?