help! help!Replace the url of the image before rendering the page.
Unsolved
Technical Support
-
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?
Such as:
<img src="http://xxxxi.oss-cn-beijing.aliyuncs.com/1.png" alt="" class="img-responsive img-markdown">become below
<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">
-
@picasso-shief @baris hi ~buddy,can you help me
Copyright © 2024 NodeBB | Contributors