Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @foreach($posts as $post)
- <div class="image @php if($counter++ != 0) echo 'image_hidden'; @endphp">
- @foreach($huge_images as $image)
- @if($post->hash == $image->hash)
- post-hash {{$post->hash}}
- <img class="desktop_image" src="images/w_1.jpg">
- <img class="mobile_image" src="images/m_1.png">
- @endif
- @endforeach
- </div>
- @endforeach
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement