templates/instrument/_instrument-picture.html.twig line 1

Open in your IDE?
  1. {% set imageSrc = instrument.picture ?
  2.     (instrument_dir ~ '/' ~ instrument.picture)|imagine_filter(filter|default('instrument_swiper_thumb')) :
  3.     'https://fakeimg.pl/140x264/?text=x'
  4. %}
  5. <img src="{{ imageSrc }}"
  6.      class="img-fluid"
  7.      alt="{{ instrument.name }}">