diff --git a/templates/editcontent/media_edit.html.twig b/templates/editcontent/media_edit.html.twig
index aed98162..fcd0c9a7 100644
--- a/templates/editcontent/media_edit.html.twig
+++ b/templates/editcontent/media_edit.html.twig
@@ -8,10 +8,10 @@
{% block main %}
-
{{ 'caption.filename'|trans }} » {{ media.area }}://{% if media.path %}{{ media.path }}/{% endif %}{{ media.filename }}
+ {{ 'caption.filename'|trans }} » {{ media.location }}://{% if media.path %}{{ media.path }}/{% endif %}{{ media.filename }}
- {% set thumbnail = thumbnail(image = media.filename, width = 900, height = 500, location = media.area, path = media.path) %}
+ {% set thumbnail = thumbnail(image = media.filename, width = 900, height = 500, location = media.location, path = media.path) %}
@@ -127,7 +127,7 @@
{{ parent() }}
- {% set thumbnail = thumbnail(image = media.filename, width = 900, height = 500, location = media.area, path = media.path) %}
+ {% set thumbnail = thumbnail(image = media.filename, width = 900, height = 500, location = media.location, path = media.path) %}