 <div id="brands-carousel" class="logo-slider wow fadeInUp"> <div class="logo-slider-inner"> <div id="brand-slider" class="owl-carousel brand-slider custom-carousel owl-theme"> <?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="item m-t-15"> <a href="<?php echo e(route('front.brand.show', [$brand->slug])); ?>" class="image"> <?php if($brand->photo): ?> <?php
                                $image_url = \App\Helpers\Helper::check_image_avatar($brand->photo->name, 150);
                            ?> <img class="img-responsive" data-echo="<?php echo e($image_url); ?>" src="<?php echo e(asset(theme_url('/img/blank.gif'))); ?>" alt="<?php echo e($brand->name ? $brand->name : __('Brand')); ?>" /> <?php else: ?> <img class="img-responsive" data-echo="https://via.placeholder.com/150x150?text=No+Image" src="<?php echo e(asset(theme_url('/img/blank.gif'))); ?>" alt="<?php echo e($brand->name ? $brand->name : __('Brand')); ?>" /> <?php endif; ?> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div>