Can’t insert files in other inputs

You have three input elements with id="upload_image" and three with id="upload_image_button". So jQuery is working with first elements only.

Remember, id means identity.