DOCX from Template with images

Hi,

 

I am using a DocX from dynamic template plugin and i want to check if my image-array is empty. 

I get the Error: 

Parsing error in template "fr.opensagres.xdocreport.document.docx.DocxReport@29437940!word/document.xml" in line 4, column 17627:
Encountered "=", but was expecting one of:
<STRING_LITERAL>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>

My code: 

«[#if logo >= 1]»Lijst met afbeeldingen:«[#list logo as logo]» Placeholder Image for Size«[/#list]»«[#else]»«[/#if]»

Maybe you can help me. 

Thank you

  Discussion posts and replies are publicly visible