diff --git a/bigbluebutton-web/web-app/WEB-INF/freemarker/get-recordings.ftl b/bigbluebutton-web/web-app/WEB-INF/freemarker/get-recordings.ftl index 8ae50f17b3cf616280417ccbab658498e9eb6885..506d368fe532bf75f407dec84ec4d4b29043efe2 100644 --- a/bigbluebutton-web/web-app/WEB-INF/freemarker/get-recordings.ftl +++ b/bigbluebutton-web/web-app/WEB-INF/freemarker/get-recordings.ftl @@ -40,10 +40,10 @@ <#elseif property == "images"> <#if properties[property]["image"]?is_hash> <#assign image = properties[property]["image"]> - <image width="${image["attributes"]["width"]}" height="${image["attributes"]["height"]}">${image["text"]}</image> + <image <#if image["attributes"]?? && image["attributes"]["width"]??>width="${image["attributes"]["width"]}"</#if> <#if image["attributes"]?? && image["attributes"]["height"]??>height="${image["attributes"]["height"]}"</#if>>${image["text"]}</image> <#elseif properties[property]["image"]?is_enumerable> <#list properties[property]["image"] as image> - <image width="${image["attributes"]["width"]}" height="${image["attributes"]["height"]}">${image["text"]}</image> + <image <#if image["attributes"]?? && image["attributes"]["width"]??>width="${image["attributes"]["width"]}"</#if> <#if image["attributes"]?? && image["attributes"]["height"]??>height="${image["attributes"]["height"]}"</#if>>${image["text"]}</image> </#list> </#if> </#if>