#foreach ($category in $imageCategoryArray)

$category.name #if($category.images.length <= 1) $languageTranslation.image #elseif($category.images.length >= 1) $languageTranslation.images #else #end

#end