Modifying Images Using the Http Proxy

April fools come. I would like to play this raffle where we use the http proxy to change images when they go through the proxy. I was told that there are scripts / add-ons for ISA / Squid that can do this, but I could not find much myself.

Ideally, we would like to overlay another image on top of each .gif / .jpeg / .png that comes through the proxy. The only problem: I have no idea how to do this!

If I had my choice, I would rather do it with ISA than with Squid, but beggars cannot be choices. If you can think of something else, I am also open to this!

+4
source share
2 answers

Look here: Upside-Down-Ternet ;)

You will need to replace the call in the script to add your additional image. ImageMagick would be a good tool for this.

+7
source

I also don't have a big idea, but I have a concept that you can try.

Get a caching proxy server, cache it all the pages you want to play a trick on.

then somehow manipulates the cache, for example, if the proxy server cache is test.jpg, go into its cache and replace this test.jpg with another image that is almost similar in size and size.

Then, after you ask the proxy server not to update its cache for a while.

Well, this is just a concept, hope it works;)

0
source

All Articles