diff --git a/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.blade.php b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.blade.php index 98c1aaa..7a3cb19 100644 --- a/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.blade.php +++ b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.blade.php @@ -8,7 +8,7 @@ @foreach( getCategorySubCatsBySetting($data->area_name.'_'.$data->part.'_category',8) as $category ) <div class="item"> <a href="{{$category->webUrl()}}"> - <img src="{{$category->imgUrl()}}" alt="{{$category->name}}" title="{{$category->name}}"> + <img src="{{$category->imgUrl()}}" alt="{{$category->name}}" title="{{$category->name}}" loading="lazy"> </a> </div> @endforeach diff --git a/resources/views/segments/categories/CategoriesGrid/CategoriesGrid.blade.php b/resources/views/segments/categories/CategoriesGrid/CategoriesGrid.blade.php index 0c88ec3..c2bfdca 100644 --- a/resources/views/segments/categories/CategoriesGrid/CategoriesGrid.blade.php +++ b/resources/views/segments/categories/CategoriesGrid/CategoriesGrid.blade.php @@ -9,7 +9,7 @@ <div class="cat-grid-item"> <a href="{{$category->webUrl()}}"> <img src="{{$category->imgUrl()}}" alt="{{$category->name}}" - title="{{$category->name}}"> + title="{{$category->name}}" loading="lazy" > <h3 class="py-3"> {{$category->name}} </h3> diff --git a/resources/views/segments/categories/FavProductWithMeta/FavProductWithMeta.blade.php b/resources/views/segments/categories/FavProductWithMeta/FavProductWithMeta.blade.php index 622294a..3edca74 100644 --- a/resources/views/segments/categories/FavProductWithMeta/FavProductWithMeta.blade.php +++ b/resources/views/segments/categories/FavProductWithMeta/FavProductWithMeta.blade.php @@ -22,7 +22,7 @@ </div> @endforeach <div class="col-12"> - <img src="{{$productFav[0]->originalOptimizedImageUrl()}}" class="img-fluid" alt=" {{$productFav[0]->name}}"> + <img src="{{$productFav[0]->originalOptimizedImageUrl()}}" class="img-fluid" alt=" {{$productFav[0]->name}}" loading="lazy"> </div> </div> </div> diff --git a/resources/views/segments/category/SubCategoriesGrid/SubCategoriesGrid.blade.php b/resources/views/segments/category/SubCategoriesGrid/SubCategoriesGrid.blade.php index 25b4f49..9340da5 100644 --- a/resources/views/segments/category/SubCategoriesGrid/SubCategoriesGrid.blade.php +++ b/resources/views/segments/category/SubCategoriesGrid/SubCategoriesGrid.blade.php @@ -9,7 +9,7 @@ @foreach($category->children as $subCat) <div class="col-md"> <div class="sub-category"> - <img src="{{$subCat->imgUrl()}}" alt="{{$subCat->name}}" class="img-fluid"> + <img src="{{$subCat->imgUrl()}}" alt="{{$subCat->name}}" class="img-fluid" loading="lazy"> <h4> {{$subCat->name}} </h4> diff --git a/resources/views/segments/clip/DorClip/DorClip.blade.php b/resources/views/segments/clip/DorClip/DorClip.blade.php index 53b2a21..b416a3e 100644 --- a/resources/views/segments/clip/DorClip/DorClip.blade.php +++ b/resources/views/segments/clip/DorClip/DorClip.blade.php @@ -4,7 +4,7 @@ {{$title}} </h1> <div id="video-preview-botz"> - <video controls src="{{$clip->fileUrl()}}" poster="{{$clip->imgUrl()}}"></video> + <video controls src="{{$clip->fileUrl()}}" poster="{{$clip->imgUrl()}}" preload="none"></video> </div> <mp4player asset="{{$clip->fileUrl()}}" cover="{{$clip->imgUrl()}}"></mp4player> diff --git a/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php b/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php index bc05b1e..239944b 100644 --- a/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php +++ b/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php @@ -7,7 +7,7 @@ @foreach(\App\Models\Clip::where('status',1)->get() as $clip) <div class="autoplay-clip-item"> <a href="{{$clip->webUrl()}}"> - <video src="{{$clip->fileUrl()}}" poster="{{$clip->imgUrl()}}" muted ></video> + <video preload="none" src="{{$clip->fileUrl()}}" poster="{{$clip->imgUrl()}}" muted ></video> </a> {{-- <img src="{{$clip->imgUrl()}}" alt="">--}} </div> diff --git a/resources/views/segments/clips_page/ClipListGrid/ClipListGrid.blade.php b/resources/views/segments/clips_page/ClipListGrid/ClipListGrid.blade.php index e3ed222..44d204f 100644 --- a/resources/views/segments/clips_page/ClipListGrid/ClipListGrid.blade.php +++ b/resources/views/segments/clips_page/ClipListGrid/ClipListGrid.blade.php @@ -10,7 +10,7 @@ <div class="clip-grid-item"> <a href="{{$clip->webUrl()}}"> - <img src="{{$clip->imgUrl()}}" alt=""> + <img src="{{$clip->imgUrl()}}" alt="" loading="lazy"> <h2> <span> {{$clip->title}} diff --git a/resources/views/segments/compare/CompareProducts/CompareProducts.blade.php b/resources/views/segments/compare/CompareProducts/CompareProducts.blade.php index 8fd0332..4547d93 100644 --- a/resources/views/segments/compare/CompareProducts/CompareProducts.blade.php +++ b/resources/views/segments/compare/CompareProducts/CompareProducts.blade.php @@ -8,7 +8,7 @@ <div class="col-md"> <div class="compare"> <div class="top"> - <img src="{{$product->originalImageUrl()}}" alt=""> + <img src="{{$product->originalImageUrl()}}" alt="" loading="lazy"> <h2> {{$product->name}} </h2> diff --git a/resources/views/segments/contact/MeloContact/MeloContact.blade.php b/resources/views/segments/contact/MeloContact/MeloContact.blade.php index 309e163..09692d0 100644 --- a/resources/views/segments/contact/MeloContact/MeloContact.blade.php +++ b/resources/views/segments/contact/MeloContact/MeloContact.blade.php @@ -110,7 +110,7 @@ ->where('is_pinned',0)->orderByDesc('id')->get() as $i => $post) <div class="row mb-2" @if( ($i % 2) == 0) dir="rtl" @else dir="ltr" @endif> <div class="col-md-2"> - <img src="{{$post->imgUrl()}}" alt="{{$post->title}}" class="img-fluid"> + <img src="{{$post->imgUrl()}}" alt="{{$post->title}}" class="img-fluid" loading="lazy"> </div> <div class="col-md" dir="{{$dir}}"> <h3> diff --git a/resources/views/segments/customer/AvisaCustomer/AvisaCustomer.blade.php b/resources/views/segments/customer/AvisaCustomer/AvisaCustomer.blade.php index 8dd5ecb..a7baa6f 100644 --- a/resources/views/segments/customer/AvisaCustomer/AvisaCustomer.blade.php +++ b/resources/views/segments/customer/AvisaCustomer/AvisaCustomer.blade.php @@ -511,7 +511,7 @@ <div class="product-item"> <div class="row"> <div class="col-md-2"> - <img src="{{$fav->imgUrl()}}" class="img-fluid" alt="{{$fav->name}}"> + <img src="{{$fav->imgUrl()}}" class="img-fluid" alt="{{$fav->name}}" loading="lazy"> </div> <div class="col-md-10"> <h4> diff --git a/resources/views/segments/galleries/GridGallery/GridGallery.blade.php b/resources/views/segments/galleries/GridGallery/GridGallery.blade.php index de909c2..051854c 100644 --- a/resources/views/segments/galleries/GridGallery/GridGallery.blade.php +++ b/resources/views/segments/galleries/GridGallery/GridGallery.blade.php @@ -8,7 +8,7 @@ <div class="col-md p-1"> <a class="gallery-grid" href="{{$gallery->webUrl()}}"> - <img src="{{$gallery->imgUrl()}}" alt="{{$gallery->title}}"> + <img src="{{$gallery->imgUrl()}}" alt="{{$gallery->title}}" loading="lazy"> <h4> <span> {{$gallery->title}} diff --git a/resources/views/segments/galleries_page/GalleriesList/GalleriesList.blade.php b/resources/views/segments/galleries_page/GalleriesList/GalleriesList.blade.php index cf6e62e..f425e44 100644 --- a/resources/views/segments/galleries_page/GalleriesList/GalleriesList.blade.php +++ b/resources/views/segments/galleries_page/GalleriesList/GalleriesList.blade.php @@ -9,7 +9,7 @@ <div class="col-md-6 p-1"> <div class="gallrey-item"> <a href="{{$gallery->webUrl()}}"> - <img src="{{$gallery->imgUrl()}}" alt="{{$gallery->title}}"> + <img src="{{$gallery->imgUrl()}}" alt="{{$gallery->title}}" loading="lazy"> </a> <h4 class="text-center"> {{$gallery->title}} diff --git a/resources/views/segments/gallery/AparatGallery/AparatGallery.blade.php b/resources/views/segments/gallery/AparatGallery/AparatGallery.blade.php index 52e6900..6f26eaf 100644 --- a/resources/views/segments/gallery/AparatGallery/AparatGallery.blade.php +++ b/resources/views/segments/gallery/AparatGallery/AparatGallery.blade.php @@ -7,7 +7,7 @@ <div class="aparat-item"> <a class="gallery-image aparat-link" href="{{$image->imgOriginalUrl()}}"> - <img src="{{$image->imgurl()}}" class="img-fluid" alt="{{$image->title}}" title="{{$image->title}}"> + <img src="{{$image->imgurl()}}" class="img-fluid" alt="{{$image->title}}" title="{{$image->title}}" loading="lazy"> </a> </div> @endforeach diff --git a/resources/views/segments/gallery/GallaryGrid/GallaryGrid.blade.php b/resources/views/segments/gallery/GallaryGrid/GallaryGrid.blade.php index b7fefce..c092dee 100644 --- a/resources/views/segments/gallery/GallaryGrid/GallaryGrid.blade.php +++ b/resources/views/segments/gallery/GallaryGrid/GallaryGrid.blade.php @@ -5,7 +5,7 @@ @foreach($gallery->images as $image) <div class="col-lg-3 col-md-6 mb-4"> <a class="gallery-image light-box" data-toggle="lightbox" data-gallery="{{$gallery->slug}}" href="{{$image->imgOriginalUrl()}}"> - <img src="{{$image->imgurl()}}" class="img-fluid" alt="{{$image->title}}" title="{{$image->title}}"> + <img src="{{$image->imgurl()}}" class="img-fluid" alt="{{$image->title}}" title="{{$image->title}}" loading="lazy"> </a> </div> @endforeach diff --git a/resources/views/segments/group/SubGroupsGrid/SubGroupsGrid.blade.php b/resources/views/segments/group/SubGroupsGrid/SubGroupsGrid.blade.php index 3132c18..86197c8 100644 --- a/resources/views/segments/group/SubGroupsGrid/SubGroupsGrid.blade.php +++ b/resources/views/segments/group/SubGroupsGrid/SubGroupsGrid.blade.php @@ -9,7 +9,7 @@ @foreach($group->children as $subGroup) <div class="col-md"> <div class="sub-group"> - <img src="{{$subGroup->imgUrl()}}" alt="{{$subGroup->name}}" class="img-fluid"> + <img src="{{$subGroup->imgUrl()}}" alt="{{$subGroup->name}}" class="img-fluid" loading="lazy"> <h4> {{$subGroup->name}} </h4> diff --git a/resources/views/segments/index/AuthorSlider/AuthorSlider.blade.php b/resources/views/segments/index/AuthorSlider/AuthorSlider.blade.php index ea25365..7991012 100644 --- a/resources/views/segments/index/AuthorSlider/AuthorSlider.blade.php +++ b/resources/views/segments/index/AuthorSlider/AuthorSlider.blade.php @@ -16,7 +16,7 @@ <div class="author-slide"> <a href="{{$post->webUrl()}}"> - <img src="{{$post->orgUrl()}}" class="float-end" alt=" {{$post->title}}"> + <img src="{{$post->orgUrl()}}" class="float-end" alt=" {{$post->title}}" loading="lazy"> <div class="contents"> <h3> diff --git a/resources/views/segments/post/PostSidebar/PostSidebar.blade.php b/resources/views/segments/post/PostSidebar/PostSidebar.blade.php index 524d39a..632fa5b 100644 --- a/resources/views/segments/post/PostSidebar/PostSidebar.blade.php +++ b/resources/views/segments/post/PostSidebar/PostSidebar.blade.php @@ -28,7 +28,7 @@ </li> </ol> </nav> - <img src="{{$post->orgUrl()}}" alt="" class="img-fluid"> + <img src="{{$post->orgUrl()}}" alt="" class="img-fluid" loading="lazy"> <p class="text-muted my-3"> {{$post->subtitle}} </p> diff --git a/resources/views/segments/post/SimplePost/SimplePost.blade.php b/resources/views/segments/post/SimplePost/SimplePost.blade.php index 1d01e59..d1d09b2 100644 --- a/resources/views/segments/post/SimplePost/SimplePost.blade.php +++ b/resources/views/segments/post/SimplePost/SimplePost.blade.php @@ -21,7 +21,7 @@ </li> </ol> </nav> - <img src="{{$post->orgUrl()}}" alt="" class="img-fluid"> + <img src="{{$post->orgUrl()}}" alt="" class="img-fluid" loading="lazy"> <p class="text-muted my-3"> {{$post->subtitle}} </p> diff --git a/resources/views/segments/posts/NoLinkImage/NoLinkImage.blade.php b/resources/views/segments/posts/NoLinkImage/NoLinkImage.blade.php index 27b472c..93ff09e 100644 --- a/resources/views/segments/posts/NoLinkImage/NoLinkImage.blade.php +++ b/resources/views/segments/posts/NoLinkImage/NoLinkImage.blade.php @@ -6,7 +6,7 @@ <div class="col-lg-3 col-md-6"> <div class=" no-link-item mb-4"> - <img src="{{$post->orgUrl()}}" class="float-start me-2" alt=" {{$post->title}}"> + <img src="{{$post->orgUrl()}}" class="float-start me-2" alt=" {{$post->title}}" loading="lazy"> <h3> {{$post->title}} </h3> diff --git a/resources/views/segments/posts/PostIndexImage/PostIndexImage.blade.php b/resources/views/segments/posts/PostIndexImage/PostIndexImage.blade.php index f5471f5..fb9bbab 100644 --- a/resources/views/segments/posts/PostIndexImage/PostIndexImage.blade.php +++ b/resources/views/segments/posts/PostIndexImage/PostIndexImage.blade.php @@ -12,7 +12,7 @@ @foreach( getGroupPostsBySetting($data->area_name.'_'.$data->part.'_group',4) as $post ) <div class="col-lg-3 col-md-6"> <div class="post-img-index"> - <img src="{{$post->imgUrl()}}" alt="{{$post->title}}" class="img-fluid"> + <img src="{{$post->imgUrl()}}" alt="{{$post->title}}" class="img-fluid" loading="lazy"> <h3> {{$post->title}} </h3> diff --git a/resources/views/segments/posts/PostsSlider/PostsSlider.blade.php b/resources/views/segments/posts/PostsSlider/PostsSlider.blade.php index 18bb5a8..8dc3265 100644 --- a/resources/views/segments/posts/PostsSlider/PostsSlider.blade.php +++ b/resources/views/segments/posts/PostsSlider/PostsSlider.blade.php @@ -14,7 +14,7 @@ <div class="post-slider"> <a href="{{$post->webUrl()}}"> - <img src="{{$post->orgUrl()}}" alt=" {{$post->title}}"> + <img src="{{$post->orgUrl()}}" alt=" {{$post->title}}" loading="lazy"> <h3> {{$post->title}} </h3> diff --git a/resources/views/segments/posts_page/GridPostList/GridPostList.blade.php b/resources/views/segments/posts_page/GridPostList/GridPostList.blade.php index 52a5775..24948ae 100644 --- a/resources/views/segments/posts_page/GridPostList/GridPostList.blade.php +++ b/resources/views/segments/posts_page/GridPostList/GridPostList.blade.php @@ -10,7 +10,7 @@ </div> <a href="{{$post->webUrl()}}"> <img src="{{$post->orgUrl()}}" alt="{{$post->title}}" - title="{{implode(',',$post->tags->pluck('name')->toArray()??'')}}"> + title="{{implode(',',$post->tags->pluck('name')->toArray()??'')}}" loading="lazy"> </a> <div class="detail"> <h4> @@ -36,7 +36,7 @@ <div class="corner"> {{$post->mainGroup->name}} </div> - <img src="{{$post->imgUrl()}}" alt="{{$post->title}}"> + <img src="{{$post->imgUrl()}}" alt="{{$post->title}}" loading="lazy"> <h4> {{$post->title}} </h4> diff --git a/resources/views/segments/posts_page/GridPostListSidebar/GridPostListSidebar.blade.php b/resources/views/segments/posts_page/GridPostListSidebar/GridPostListSidebar.blade.php index eb10965..b534019 100644 --- a/resources/views/segments/posts_page/GridPostListSidebar/GridPostListSidebar.blade.php +++ b/resources/views/segments/posts_page/GridPostListSidebar/GridPostListSidebar.blade.php @@ -10,7 +10,7 @@ </div> <a href="{{$post->webUrl()}}"> <img src="{{$post->orgUrl()}}" alt="{{$post->title}}" - title="{{implode(',',$post->tags->pluck('name')->toArray()??'')}}"> + title="{{implode(',',$post->tags->pluck('name')->toArray()??'')}}" loading="lazy"> </a> <div class="detail"> <h4> @@ -40,7 +40,7 @@ <div class="corner"> {{$post->mainGroup->name}} </div> - <img src="{{$post->imgUrl()}}" alt="{{$post->title}}"> + <img src="{{$post->imgUrl()}}" alt="{{$post->title}}" loading="lazy"> <h4> {{$post->title}} </h4> diff --git a/resources/views/segments/posts_page/GridPostListSidebar/inc/sidebar.blade.php b/resources/views/segments/posts_page/GridPostListSidebar/inc/sidebar.blade.php index 3931560..7963c72 100644 --- a/resources/views/segments/posts_page/GridPostListSidebar/inc/sidebar.blade.php +++ b/resources/views/segments/posts_page/GridPostListSidebar/inc/sidebar.blade.php @@ -17,7 +17,7 @@ @foreach(\App\Models\Post::where('status',1)->orderByDesc('id')->limit(5)->get() as $pst) <li> <a href="{{$pst->webUrl()}}"> - <img src="{{$pst->imgUrl()}}" alt="{{$pst->title}}" class="float-start me-2"> + <img src="{{$pst->imgUrl()}}" alt="{{$pst->title}}" class="float-start me-2" loading="lazy"> <h6> {{$pst->title}} </h6> diff --git a/resources/views/segments/posts_page/SimplePostList/SimplePostList.blade.php b/resources/views/segments/posts_page/SimplePostList/SimplePostList.blade.php index c4b0ec3..17e7a89 100644 --- a/resources/views/segments/posts_page/SimplePostList/SimplePostList.blade.php +++ b/resources/views/segments/posts_page/SimplePostList/SimplePostList.blade.php @@ -10,7 +10,7 @@ </div> <a href="{{$post->webUrl()}}"> <img src="{{$post->orgUrl()}}" alt="{{$post->title}}" - title="{{implode(',',$post->tags->pluck('name')->toArray()??'')}}"> + title="{{implode(',',$post->tags->pluck('name')->toArray()??'')}}" loading="lazy"> </a> <div class="detail"> <h4> @@ -28,7 +28,7 @@ @endif @foreach($posts as $post) <div class="post-list-item"> - <img src="{{$post->imgUrl()}}" class="float-start me-4" alt="{{$post->title}}"> + <img src="{{$post->imgUrl()}}" class="float-start me-4" alt="{{$post->title}}" loading="lazy"> <h4> {{$post->title}} </h4> diff --git a/resources/views/segments/posts_page/SimplePostListSideBar/SimplePostListSideBar.blade.php b/resources/views/segments/posts_page/SimplePostListSideBar/SimplePostListSideBar.blade.php index d2ef106..f5a2e6a 100644 --- a/resources/views/segments/posts_page/SimplePostListSideBar/SimplePostListSideBar.blade.php +++ b/resources/views/segments/posts_page/SimplePostListSideBar/SimplePostListSideBar.blade.php @@ -10,7 +10,7 @@ </div> <a href="{{$post->webUrl()}}"> <img src="{{$post->orgUrl()}}" alt="{{$post->title}}" - title="{{implode(',',$post->tags->pluck('name')->toArray()??'')}}"> + title="{{implode(',',$post->tags->pluck('name')->toArray()??'')}}" loading="lazy"> </a> <div class="detail"> <h4> @@ -35,7 +35,7 @@ <div class="col-lg-9"> @foreach($posts as $post) <div class="post-list-item"> - <img src="{{$post->imgUrl()}}" class="float-start me-4" alt="{{$post->title}}"> + <img src="{{$post->imgUrl()}}" class="float-start me-4" alt="{{$post->title}}" loading="lazy"> <h4> {{$post->title}} </h4> diff --git a/resources/views/segments/posts_page/SimplePostListSideBar/inc/sidebar.blade.php b/resources/views/segments/posts_page/SimplePostListSideBar/inc/sidebar.blade.php index 3931560..7963c72 100644 --- a/resources/views/segments/posts_page/SimplePostListSideBar/inc/sidebar.blade.php +++ b/resources/views/segments/posts_page/SimplePostListSideBar/inc/sidebar.blade.php @@ -17,7 +17,7 @@ @foreach(\App\Models\Post::where('status',1)->orderByDesc('id')->limit(5)->get() as $pst) <li> <a href="{{$pst->webUrl()}}"> - <img src="{{$pst->imgUrl()}}" alt="{{$pst->title}}" class="float-start me-2"> + <img src="{{$pst->imgUrl()}}" alt="{{$pst->title}}" class="float-start me-2" loading="lazy"> <h6> {{$pst->title}} </h6> diff --git a/resources/views/segments/product/ProductAria/ProductAria.blade.php b/resources/views/segments/product/ProductAria/ProductAria.blade.php index 39bd44c..c397d6f 100644 --- a/resources/views/segments/product/ProductAria/ProductAria.blade.php +++ b/resources/views/segments/product/ProductAria/ProductAria.blade.php @@ -206,7 +206,7 @@ <div class="item"> <div class="aria-product-list"> <a href="{{$p->imgUrl()}}"> - <img src="{{$p->imgUrl()}}" alt="{{$p->name}}"> + <img src="{{$p->imgUrl()}}" alt="{{$p->name}}" loading="lazy"> <h5> {{$p->name}} </h5> diff --git a/resources/views/segments/product/ProductKaren/ProductKaren.blade.php b/resources/views/segments/product/ProductKaren/ProductKaren.blade.php index c0ead72..0eb8037 100644 --- a/resources/views/segments/product/ProductKaren/ProductKaren.blade.php +++ b/resources/views/segments/product/ProductKaren/ProductKaren.blade.php @@ -7,7 +7,7 @@ <div id="preview"> <a href="{{$product->originalImageUrl()}}" id="karen-main-img" class="light-box" data-gallery="karen-products"> - <img src="{{$product->originalImageUrl()}}" alt="{{$product->name}}"> + <img src="{{$product->originalImageUrl()}}" alt="{{$product->name}}" > </a> </div> <div id="karen-img-slider"> @@ -202,7 +202,7 @@ <div class="item"> <div class="karen-product-list"> <a href="{{$p->imgUrl()}}"> - <img src="{{$p->imgUrl()}}" alt="{{$p->name}}"> + <img src="{{$p->imgUrl()}}" alt="{{$p->name}}" loading="lazy"> <h5> {{$p->name}} </h5> diff --git a/resources/views/segments/products/LatestProducts/LatestProducts.blade.php b/resources/views/segments/products/LatestProducts/LatestProducts.blade.php index 2372b4b..7850281 100644 --- a/resources/views/segments/products/LatestProducts/LatestProducts.blade.php +++ b/resources/views/segments/products/LatestProducts/LatestProducts.blade.php @@ -21,7 +21,7 @@ <i class="ri-scales-3-line"></i> </a> <a href="{{$product->webUrl()}}"> - <img src="{{$product->imgUrl()}}" alt="{{$product->name}}"> + <img src="{{$product->imgUrl()}}" alt="{{$product->name}}" loading="lazy"> <h3> {{$product->name}} </h3> diff --git a/resources/views/segments/products/TreeGridProducts/TreeGridProducts.blade.php b/resources/views/segments/products/TreeGridProducts/TreeGridProducts.blade.php index f3cc39f..d0711d3 100644 --- a/resources/views/segments/products/TreeGridProducts/TreeGridProducts.blade.php +++ b/resources/views/segments/products/TreeGridProducts/TreeGridProducts.blade.php @@ -14,7 +14,7 @@ <div class="item slider-content"> <div class="tree-product-box"> <a href="{{$product->webUrl()}}"> - <img src="{{$product->imgUrl()}}" alt="{{$product->name}}"> + <img src="{{$product->imgUrl()}}" alt="{{$product->name}}" loading="lazy"> </a> <h4> <a href="{{$product->webUrl()}}"> @@ -48,7 +48,7 @@ @foreach(getCategoryProductBySetting($part->area_name . '_' . $part->part.'_categoryx') as $product) <div class="item text-center slider-content"> <a href="{{$product->webUrl()}}"> - <img src="{{$product->imgUrl()}}" class="img-fluid" alt="{{$product->name}}"> + <img src="{{$product->imgUrl()}}" class="img-fluid" alt="{{$product->name}}" loading="lazy"> </a> </div> @endforeach @@ -63,7 +63,7 @@ @foreach(getCategoryProductBySetting($part->area_name . '_' . $part->part.'_categoryy') as $product) <div class="item text-center slider-content"> <a href="{{$product->webUrl()}}"> - <img src="{{$product->imgUrl()}}" class="img-fluid" alt="{{$product->name}}"> + <img src="{{$product->imgUrl()}}" class="img-fluid" alt="{{$product->name}}" loading="lazy"> </a> </div> @endforeach diff --git a/resources/views/segments/products_page/ProductGrid/ProductGrid.blade.php b/resources/views/segments/products_page/ProductGrid/ProductGrid.blade.php index c93ca0f..16c1c8b 100644 --- a/resources/views/segments/products_page/ProductGrid/ProductGrid.blade.php +++ b/resources/views/segments/products_page/ProductGrid/ProductGrid.blade.php @@ -19,7 +19,7 @@ <i class="ri-scales-3-line"></i> </a> <a href="{{$product->webUrl()}}"> - <img src="{{$product->imgUrl()}}" alt="{{$product->name}}"> + <img src="{{$product->imgUrl()}}" alt="{{$product->name}}" loading="lazy"> <h3> {{$product->name}} </h3> diff --git a/resources/views/segments/products_page/ProductGridSidebar/ProductGridSidebar.blade.php b/resources/views/segments/products_page/ProductGridSidebar/ProductGridSidebar.blade.php index 3a65dd4..5d4f98a 100644 --- a/resources/views/segments/products_page/ProductGridSidebar/ProductGridSidebar.blade.php +++ b/resources/views/segments/products_page/ProductGridSidebar/ProductGridSidebar.blade.php @@ -27,7 +27,7 @@ <i class="ri-scales-3-line"></i> </a> <a href="{{$product->webUrl()}}"> - <img src="{{$product->imgUrl()}}" alt="{{$product->name}}"> + <img src="{{$product->imgUrl()}}" alt="{{$product->name}}" loading="lazy"> <h3> {{$product->name}} </h3> diff --git a/resources/views/segments/slider/SliderSimple/SliderSimple.blade.php b/resources/views/segments/slider/SliderSimple/SliderSimple.blade.php index 38ee40b..ee8f636 100755 --- a/resources/views/segments/slider/SliderSimple/SliderSimple.blade.php +++ b/resources/views/segments/slider/SliderSimple/SliderSimple.blade.php @@ -2,7 +2,7 @@ <div class='SliderSimple'> @foreach(\App\Models\Slider::where('status',1)->get() as $slider) <div class="item"> - <img src="{{$slider->imgUrl()}}" alt="{{strip_tags($slider->body)}}"> + <img src="{{$slider->imgUrl()}}" alt="{{strip_tags($slider->body)}}" > <div class="desc"> {!! $slider->body !!} </div>