first commit

This commit is contained in:
vedant-chavan
2024-06-12 20:29:05 +05:30
commit eff0228447
246 changed files with 25388 additions and 0 deletions

View File

@@ -0,0 +1 @@
<?php use Illuminate\Support\Facades\Storage; use Image as thumbimage; /** * Created By : Pradyumn Dwivedi * Created at : 16 January 2023 * Use : Function for listing image url */ if (!function_exists('ListingImageUrl')) { function ListingImageUrl($type, $imageName) { $src = ''; $defaultImagePath = ""; if (!empty($imageName) && file_exists('public/uploads/' . $type . '/' . $imageName)) { $src = 'public/uploads/' . $type . '/' . $imageName . '?d=' . time(); } else { //default image path $src = $defaultImagePath; } return url($src); } }