Hi. Has a parent page Sites. It contains child pages site_item (no modular). When loading the parent page everything is fine
But after filtering by category (top button), filtration occurs, but missing images.
As you can see, the title of the picture is visible (small letters).
Ie link in the html code there, but the kart is not being rendered!
Why is this possible?
Below is my code. Very long suffered, to display images from child pages added using blueprints.
{% for p in page.collection %}
<div class="collection-item-2 w-dyn-item w-col w-col-4">
<a class="project-wrapper style-2 add-shadow w-inline-block" href="{{ p.url }}">
<div>
{% for thumb_image in p.header.content.thumb %}
<img src="{{ thumb_image.path }}" alt="{{ p.title }}" title="{{ p.title }}">
{% endfor %}
</div>
<div class="project-content">
<h5 class="project-type"></h5>
<h3 class="project-title">{{ p.title }}</h3>
</div>
<div class="arrow-bottom uper"></div>
</a>
</div>
{% endfor %}
Tried to get a picture adaptive, but does not work:
{% for thumb_image in p.header.content.thumb %}
{{ p.media[thumb_image.name].derivatives(500,1600,300).sizes('(max-width: 479px) 87vw, (max-width: 767px) 92vw, (max-width: 991px) 94vw, 86vw').html(page.title, page.title) }}
{% endfor %}
{{ dump(thumb_image) }}
array:4 [
"name" => "sauna1-thumb.jpg"
"type" => "image/jpeg"
"size" => 198944
"path" => "user/themes/my/images/content/sauna1-thumb.jpg"
]