{% block ezimage_field %} {% apply spaceless %} {% if not ibexa_field_is_empty( content, field ) %} {% set imageAlias = ibexa_image_alias( field, versionInfo, parameters.alias|default( 'original' ) ) %} {% if imageAlias %}{{ asset( imageAlias.uri ) }}{% else %}//:0{% endif %} {% endif %} {% endapply %} {% endblock %} {% block ezobjectrelation_field %} {% apply spaceless %} {% if not ibexa_field_is_empty( content, field ) %} {{ render( controller( "ibexa_content:viewAction", {'contentId': field.value.destinationContentId, 'viewType': 'embed', 'noLayout': 1, "params": {'hideText': true,"class":"img-fluid",'minimalMarkup': true,'backgroundimage':true,'alias':'lightbox',"alt": ibexa_content_name(content) }} ) ) }} {% endif %} {% endapply %} {% endblock %}