url substitutes

Author Message
Wolterw 04/08/2007 10:44 am
Hi, my new problem is this, the urls look like this:
http://site.com/view_image.php?galid=3955&num=101&style=html&section=5
but this is just a cropped image and i want the whole thing

When i use the following rule

url
http://site.com/view_image.php?galid

replace
galid=***&num=**&*

with
galid=***&num=**
it downloads the entire image to the root of the folder.
Is it possible to download the file to a folder named after the galid=number?

I tried making this rule for processing after download

url
http://site.com/view_image.php?galid=3928&num=5

replace
galid=**&num=*

with
**/*.jpg
but it didnt do anything

Can anyone give a solution?

Regards
Wolterw
Oleg Chernavin 04/08/2007 11:11 am
I tested your last rule on the URL:

http://site.com/view_image.php?galid=3928&num=5

and it gave the following result:

http://site.com/view_image.php?3928/5.jpg
Wolterw 04/08/2007 11:28 am
oh, yes i can see when you use the test feature, it does that, but because it does not have that file downloaded,because it is changed by the first rule then it does nothing.

what i want to do is change the url online from
http://site.com/view_image.php?galid=3955&num=101&style=html&section=5
to
http://site.com/view_image.php?galid=3955&num=101

and then put the downloaded picture in a folder named 3955 after the galid number.

is it possible?

Regards
Wolterw
Wolterw 04/08/2007 11:59 am
Hi, nevermind, i just found out i made a few mistakes, like using wrong urls...

So i figured it out.

Regards
Wolterw
Oleg Chernavin 04/09/2007 04:35 am
OK. Good.

Oleg.