SetUniqueImageId

This logic changes the image ID of every image in a set to subsequent numbers. It is needed when two separate sets of images are uploaded, that might have the same IDs.

If the operation is done only on the newly uploaded set, one can change the Offset value to the last imageID of the previous set, so the numeration will start from this value.

Parameters Description
Set offset If not used, starts numeration from 0
→ Offset The value from which to start
Input Description
Input Images A set of images
Output Description
Renamed Images A set of images with unique IDs starting from the Offset number