There are two possible options for this asyncronous operation. Either save the uploaded images to a directory and then have a page that enumerates that directory and gets a caption for each one from an HTML post. Or, put the images into a table in your database and proceed as for the previous idea. Once the images have there captions you can then move them to the correct place in the database or filing system.
What to know more? Email me: firstname.lastname@example.org