質問

Is there a way to proxy external images w/o downloading them at all?

My idea is to provide a script (i.e. proxy.php) which I could use in an src attribute like this:

<img src="http://myseconddomain.com/proxy.php?img=http://example.com/externalimage.png">
役に立ちましたか?

解決

You'd have to download them atleast once. Once that's done, you can cache them and serve the images off the cache. This is a subset of a more general caching proxy.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top