Sorry to bother you but I've searched and can't find anything on this. Where can I store static images files and load them into a carousel with links when NodeBB is running?
How replace the url of the image before rendering the page.
because post image need to be authenticated, I need to add signature params to all image url before the page is rendered
Which methods should I hook for replacement?
<img src="http://xxxxi.oss-cn-beijing.aliyuncs.com/1.png" alt="" class="img-responsive img-markdown">
<img src="http://xxxxi.oss-cn-beijing.aliyuncs.com/1.png?OSSAccessKeyId=LTAssI5t6ssGs9fbWvsmPsniBhbs& Expires=1635303254& Signature=Y%2Fj4pKRFqdxR%2B8i8n2hZ5urVuSQ%3D" alt="" class="img-responsive img-markdown">