Gallery help
Posted: Thu Jan 02, 2014 3:14 pm
Trying to build a simple gallery for the following example where the name has different chars at the end. I want to get all of the items.
example.nnn/picture100/picture100ab.jpg
example.nnn/picture100/picture100cd-1.jpg
example.nnn/picture100/picture100cd-2.jpg etc.
I can use the following but I don't know how to include both items with different chars at the end of the name.
example.nnn/picture100/picture[100-100][ab-cd]-[1-7;1].jpg
This does not work.
Is there any way to use a wildcard or a way to use a variable to get picture100ab and picture100cd?
I appreciate any help.
example.nnn/picture100/picture100ab.jpg
example.nnn/picture100/picture100cd-1.jpg
example.nnn/picture100/picture100cd-2.jpg etc.
I can use the following but I don't know how to include both items with different chars at the end of the name.
example.nnn/picture100/picture[100-100][ab-cd]-[1-7;1].jpg
This does not work.
Is there any way to use a wildcard or a way to use a variable to get picture100ab and picture100cd?
I appreciate any help.