Archived from the Transloadit support forum. Originally posted on April 8, 2014; details may be outdated, see our docs for current behavior. Original thread
I am trying to integrate Flexpaper and Transloadit. Got it 99% finished and then ran into a stumbling block:
Flexpaper seems to require that img files be numbered 1-XXX
My transloadit path: path: “${file.original_id}/${file.meta.thumb_index}.${file.ext}”
Wondering if it would be possible to modify that index in some way to start from 1 rather than 0. eg math interpolation
path: “${file.original_id}/${file.meta.thumb_index + 1}.${file.ext}”
hm that’s pretty bad. We could change it, however it means backwards incompatibility for people who rely on it starting at zero. Is there no way around this using Flexpaper?
yeah we certainly want to offer that in the future, but as you can imagine it’s a pretty ambitious feature that also needs special attention for security, as we would probably introduce something like eval() into our code.
The feature is not on our roadmap yet, and won’t be for a while, so you better not rely on us implementing this very soon.
I am sorry that I do not have any better news. : /