Pushing image to database via the map