Make sure images get uploaded in order