Page 1 of 1

[RESOLVED] Build a Gallery help

Posted: Sat Jul 16, 2011 3:12 pm
by cali_214
Hi I am wondering if there is a way for me to build a gallery without all the dead links. Here is what I got:
http://www.example.com/Sh49/dhf9/picture10.jpg

Now the picture10 part can be done [1-10;1]
But the sh49/dh49 are always the same so the next one would be sh50/dh50
if i do sh[01-50;1]/dh[01-50;1] i will get a ton of wasted links is there anyway to make it just go sh49/dh49, sh50/dh50, sh51/dh51 and so on?

Re: Build a Gallery help

Posted: Sat Jul 16, 2011 3:39 pm
by therube

Code: Select all

www.example.com/Sh[01-50]/dhf[$01]/picture[1-10].jpg
See FAQ on bracketed ranges references (AKA interrelated ranges).

Re: Build a Gallery help

Posted: Sat Jul 16, 2011 3:50 pm
by cali_214
Awesome thank you very much!

Re: Build a Gallery help

Posted: Tue Dec 13, 2011 3:59 am
by makea
Hi There !
I have already browsed the this forum. I have not found a working answer to my problem.
Next, I put a couple of examples

orginal address:

Code: Select all

http://xyz.com/files/files/01/27/84/80/1278480_large.jpg
http://xyz.com/files/files/01/27/84/81/1278481_large.jpg
http://xyz.com/files/files/01/27/84/82/1278482_large.jpg
http://xyz.com/files/files/01/27/84/83/1278483_large.jpg
http://xyz.com/files/files/[01-01;1]/[27-27;1]/[84-84;1]/[00-99;1]/[1278400-1278499;1]_large.jpg (This works just fine. However, the problem is a large memory consumption, because of incorrect addresses will be much)

http://xyz.com/files/files/[01-01;1]/[27-27;1]/[84-84;1]/[$01]/[1278400-1278499;1]_large.jpg (This option not work)
http://xyz.com/files/files/[01-01;1]/[27-27;1]/[84-84;1]/[00-99;1]/[12784[$01]_large.jpg (not work..)
http://xyz.com/files/files/[01-01;1]/[27-27;1]/[84-84;1]/[$01]/[12784$01]_large.jpg (not work..)

So the problem is, the directory and filename of the one-time change does not work.

Thank you for your answer!

Sorry my bad english! :)

Re: Build a Gallery help

Posted: Thu Dec 15, 2011 6:11 am
by makea
Somebody help me,please!

Re: Build a Gallery help

Posted: Fri Dec 16, 2011 3:01 pm
by therube
This work, as a simple example?

Code: Select all

http://xyz.com/files/files/01/27/84/[80-89]/12784[$01]_large.jpg
Then, with a larger range:

Code: Select all

http://xyz.com/files/files/01/27/84/[00-99]/12784[$01]_large.jpg

Re: Build a Gallery help

Posted: Fri Dec 16, 2011 5:39 pm
by makea
therube wrote:This work, as a simple example?

Code: Select all

http://xyz.com/files/files/01/27/84/[80-89]/12784[$01]_large.jpg
Then, with a larger range:

Code: Select all

http://xyz.com/files/files/01/27/84/[00-99]/12784[$01]_large.jpg

This works fine! Thankyou! I mean it! Thankyou!