Hello,
You could use another format to export your questions on your local server and import them back on your other server. Moodle XML format is a very good choice for that and include images contrary to Gift that don't include images.
Using the url is not a good way.