Page is a not externally linkable
dupalo - 10:24 am on Jul 29, 2012 (gmt 0)
Hi daveVk, thanks for your post.
Yes the links are in the same order as thumb numbers.
So you effectively don't loop through the images but through the "parent" - not sure if in json the term 'parent' is correct - and then add the thumb name and number with what looks like an array [] notation. So are we treating them as an array, just so I understand.
One question I would really like to ask you. The code I posted above is slightly different from what I have, in that in the real one the json variable have all different names, like
"this_is_thumb": "first_and_good.png",
"hey_another_thumb": "another_thumb.png",
"and_here_another_one": "this_is_fun.png",
just to give you an idea. Now, I think I can change the naming convention to reflect the code I posted above, so I shouldn't have any problem at all. But if that wasn't the case, so say for a second that I had to keep those fancy and all different names, your approach above - just so I know - won't be applicable anymore I suppose? (don't worry no need for new code, it is just for my own information : - ))
thanks