• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.1 Latest
Buy Hosting

help! help!Replace the url of the image before rendering the page.

Scheduled Pinned Locked Moved Unsolved Technical Support
2 Posts 1 Posters 312 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Picasso shiefP Offline
    Picasso shiefP Offline
    Picasso shief
    wrote on last edited by
    #1

    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 shiefP 1 Reply Last reply
    0
  • Picasso shiefP Offline
    Picasso shiefP Offline
    Picasso shief
    replied to Picasso shief on last edited by
    #2

    @picasso-shief @baris hi ~buddy,can you help me

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development