How to import bulk images based on id_no?

The image 00001.jpg must be uploaded to the record with id_no 00001 and so on.
automatically

Hi, check this

i need a sample
client script or server script if possible