Answer the question
In order to leave comments, you need to log in
How to proxy/hide the original link with a token?
There is a service API link that contains an open token in the parameter, the link itself leads to an image (2-3 mb).
Naturally, it would be wrong to directly transfer the link to img src
, but the display speed will be instantaneous.
I tried to take the picture on the server and give it away:
'data:image/jpg;base64,' . base64_encode(file_get_contents($link)),
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question