Need Fabric API
Enter [[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]] in the chat field than it will transfer to image
ps: CICode used in version 1.0.2 and below has only 1 pair of [ ], 1.1.0 and above use 2 pairs of [ ]
local image,gif is also supported

(image from 甘城なつき)
if you only put this mod in client,it can not show other player 's local image and they also cannot see your local image
Recommended to use both client side and server side
Web Image [[CICode,url={Web Url},name=Image]]
[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]Local Image [[CICode,url=file:///{absolute file path},name=Image]]
[[CICode,url=file:///C:\blog\kituin\fun\img\bg.png,name=Image]]/chatimage send {name} {url}
Send CICode with display name and url
/chatimage url {url}
Send CICode with url (use default display name)
.minecraft/conifg/fabric/chatimageconfig.json/chatimage reload to reload the configuration fileEnd key)CICodeCICode with command