The Un-Official Proxomitron Forum

Full Version: google images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This filter replaces the frameset of google images with the image you are looking for, if you click in the image it will give you to the page were the image is.

Code:
[Patterns]
Name = "Google images: <frameset> {ln}081023"
Active = TRUE
URL = "$TYPE(htm)[^/]++images.google.\w/"
Bounds = "$NEST(<frameset,</frameset>)|$NEST(<script,</script>)"
Limit = 1500
Match = "("
        "(*<frame\s*src=$AV(/imgres\1)*"
        "$TST(\1=*imgurl=\2\&*)"
        "$TST(\1=*imgrefurl=\3\&*)"
        "$SET(9=<body><a href="$UESC(\3)" Title="Click the image to go to his web"><img src="$UESC(\2)"></a></body>)"
        ")"
        "|<script*/script>"
        ")"
Replace = "\9"
Ups! I forgot to remove the code for people not using html zones... $TST(V_Html=1)

BTW i was thinking nobody gives me thanks, but now i realise nobody downloaded it :P
You need to change images.google.es to images.google. too then I would give you a thank. Smile!

In fact, I am using sidki's config set, which has such filter built in already.
Corrected. The thanks goes to you for your repply Whenever Wink

The Sidki's filter is similar but while it replaces the link directly to the image, i replace the frameset for the image, and conserve the link to the page where the image is located
The filter in Sidki's config set was made by ProxRocks.

How about combining the 2 filters together? That is, replace the link directly to the image as ProxRocks did, and conserve the link to the page as you did, but to the site name beneath?
Is more difficult than it seems, i have in mind a filter to pass html code from the url after an \? to inject it in a html page located in html folder of proxo. If i get it i could do what you want. Anyway, i don't care so much in this kind of "tracking" because thanks to it our search results are better.
Reference URL's