In the picture the image is being saved as a gallery img, which means it is possible to pull the value out of the database and set it as the base image.
The path to the image should be stored in the catalog_product_entity_media_gallery table and can be linked to a product based on the entity_id.
Using the values from that you can update the catalog_product_entity_varchar table with the same value for the base, small and thumbnail if required.
Before you do this, you will need to find out the attribute id for the different images attributes. This can be done by looking for the following attribute codes image, small_image, thumbnail
Once you have these you can check the data base and see if the attributes have been set with a blank or null value, or if they are missing.
If they are set in the database you can run an update using the values from the media_gallery table, otherwise you will have to pull the values out and then use then to create an insert.
As always when playing with the magento database, take a backup before you do anything and never run the script against the live site until you are confident it will work!