{% if row.mainImage.file is defined %} {% else %} {{ component('dummy_image') }} {% endif %}