Add fixes for images.

Change-Id: I4af226a0b406b3eccd1a52b99123193a3086ad5e
diff --git a/horizon/files/horizon_settings/_glance_settings.py b/horizon/files/horizon_settings/_glance_settings.py
index 67fa3c3..cc3fc85 100644
--- a/horizon/files/horizon_settings/_glance_settings.py
+++ b/horizon/files/horizon_settings/_glance_settings.py
@@ -35,3 +35,6 @@
     "project_id": _("Project ID"),
     "image_type": _("Image Type")
 }
+
+HORIZON_IMAGES_UPLOAD_MODE = "legacy"
+IMAGES_ALLOW_LOCATION = True
diff --git a/horizon/files/horizon_settings/_local_settings.py b/horizon/files/horizon_settings/_local_settings.py
index 14b317c..6dc19a5 100644
--- a/horizon/files/horizon_settings/_local_settings.py
+++ b/horizon/files/horizon_settings/_local_settings.py
@@ -209,3 +209,7 @@
 {%- endif %}
 SESSION_COOKIE_HTTPONLY = {{ app.get('session_cookie_httponly', True) }}
 BOOT_ONLY_FROM_VOLUME = {{ app.get('boot_only_from_volume', True) }}
+
+REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES',
+                             'LAUNCH_INSTANCE_DEFAULTS',
+                             'OPENSTACK_IMAGE_FORMATS']