Author Topic: image replacement question  (Read 2080 times)

justinpine

  • Newbie
  • *
  • Posts: 3
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
image replacement question
« on: June 23, 2002, 09:10:45 AM »
hello, im new to using proxomitron and i was wondering if anyone could help me.  I want to replace images in a webpage with other images.  If someone knows the answer or perhaps link me to a web page with the directions maybe.  

Example. i want to replace all cell3.gif on a webpage with a cell3.jpg image of my own but only on myside, not on the internet for everyone else to see.

Would i add a line to my webfilters option, or go with a banner replacer.  And do i put that cell3.jpg image of my own in the proxomitron directory?

Thank you very much for your time.
 

sidki3003

  • Sr. Member
  • ****
  • Posts: 476
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://
    • Email
image replacement question
« Reply #1 on: June 23, 2002, 11:17:04 AM »
Hi justinpine and welcome,

I had the same problem and made this filter:

------------ MergeMe.cfg ---------------
[Blocklists]
List.Redirect = "..ListsRedirectMe.txt"

[HTTP headers]
In = FALSE
Out = TRUE
Key = "URL: Redirect selected (Out)"
Match = "*$LST(Redirect)"
----------------------------------------


----------- RedirectMe.txt -------------
# Redirect to local Page or whatever

www.somesite.com/cell3.gif $RDIR(http://Local.ptron/cell3.jpg)
some.other.remote.site $RDIR(some.local.or.remote.file)
----------------------------------------

Copy MergeMe.cfg to the directory where Proxomitron.exe resides.
Then use Proxo's Merge command (explained in the help file),
you can delete MergeMe.cfg afterwards.
cell3.jpg goes to Proxo's html dir, RedirectMe.txt to the lists dir.

Have fun
sidki

 
 

justinpine

  • Newbie
  • *
  • Posts: 3
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
image replacement question
« Reply #2 on: June 23, 2002, 04:14:13 PM »
Hello sidki and thank you for such a quick reply.  The filter worked out quite beautifuly.  If i may trouble you for one other question.

I am wondering what would be an efficient way of filtering more images.

Should i add new enteries under the [Blocklists] section or should i just append the original RedirectMe.txt file?

So far what i have tried is adding new commands (or arguments not sure what to call them) to the originalRedirectMe.txt file that you provided and this seemed to work rather well.

Also in the text file named RedirectMe.txt, the last line is written as
some.other.remote.site $RDIR(some.local.or.remote.file)

Is this an actual command that i am not suposed to alter, or is this an example that i may follow to add more images that i may replace also?

Again thank you for your time.
 

sidki3003

  • Sr. Member
  • ****
  • Posts: 476
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://
    • Email
image replacement question
« Reply #3 on: June 23, 2002, 05:15:13 PM »
Hi again justinpine,

No other block lists are needed for the filter.
The
some.other.remote.site $RDIR(some.local.or.remote.file)
entry is meant to be replaced by yours .
You can append as many entries as you like.

BTW,
If you don't want to place all images/files into the HTML dir,
You could try

some.other.remote.site $JUMP(file:///C:/Documents%20and%20Settings/justinpine/My%20Documents/someimage.jpg)

sidki


Edited by - sidki3003 on 23 Jun 2002  18:31:41
 

justinpine

  • Newbie
  • *
  • Posts: 3
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
image replacement question
« Reply #4 on: June 23, 2002, 07:42:15 PM »
Oh thats great thanks for the tip, i will do that.

What im doing is, there is a message board i read that is in phpbb and the owner is slow to impliment other themes (or skins) so i decided to try and change everything to another theme that i like and proxomitron is working great so far.

As you can tell im new at using it.  I wasnt sure which forum to  post my question in, I think maybe i should post in the cosmetic forum next.  My next step will be to figure out how to change the background color and link text colors.  I saw a filter in there already that im looking forward to testing out.

Thank you for all your help.
 

sidki3003

  • Sr. Member
  • ****
  • Posts: 476
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://
    • Email
image replacement question
« Reply #5 on: June 23, 2002, 07:56:40 PM »
Both forums are fine for that. Good luck