I understand that you can capture an image position by calling $Pos in your template.
What i need to do is capture the image position and subtract 1 from it and have this value echo'd in my template, how can i do this?
So for example:
I have 3 images with the current positions 1, 2, 3 respectively - if i call $Pos it will echo these position correctly
However i need to subtract 1 from each so that in my template their positions display as 0, 1, 2