diff --git a/app/Http/Controllers/Api/AssetModelsController.php b/app/Http/Controllers/Api/AssetModelsController.php index 01696d57ab80..8b81947d2a17 100644 --- a/app/Http/Controllers/Api/AssetModelsController.php +++ b/app/Http/Controllers/Api/AssetModelsController.php @@ -159,6 +159,14 @@ public function destroy($id) return response()->json(Helper::formatStandardApiResponse('error', null, trans('admin/models/message.assoc_users'))); } + if ($assetmodel->image) { + try { + unlink(public_path().'/uploads/models/'.$assetmodel->image); + } catch (\Exception $e) { + \Log::error($e); + } + } + $assetmodel->delete(); return response()->json(Helper::formatStandardApiResponse('success', null, trans('admin/assetmodels/message.delete.success'))); diff --git a/app/Http/Controllers/AssetModelsController.php b/app/Http/Controllers/AssetModelsController.php index a7fdd51310d2..fe752fced393 100755 --- a/app/Http/Controllers/AssetModelsController.php +++ b/app/Http/Controllers/AssetModelsController.php @@ -93,7 +93,7 @@ public function store(ImageUploadRequest $request) if (Input::file('image')) { $image = Input::file('image'); - $file_name = str_random(25) . "." . $image->getClientOriginalExtension(); + $file_name = slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension(); $path = public_path('uploads/models/'); if ($image->getClientOriginalExtension()!='svg') { @@ -213,9 +213,17 @@ public function update(ImageUploadRequest $request, $modelId = null) } if (Input::file('image')) { + $image = Input::file('image'); - $file_name = str_random(25) . "." . $image->getClientOriginalExtension(); + $file_name = str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension(); $path = public_path('uploads/models/'); + $old_image = $path.$model->image; + + try { + unlink($old_image); + } catch (\Exception $e) { + \Log::error($e); + } if ($image->getClientOriginalExtension()!='svg') { Image::make($image->getRealPath())->resize(500, null, function ($constraint) { @@ -259,6 +267,15 @@ public function destroy($modelId) // Throw an error that this model is associated with assets return redirect()->route('models.index')->with('error', trans('admin/models/message.assoc_users')); } + + if ($model->image) { + try { + unlink(public_path().'/uploads/models/'.$model->image); + } catch (\Exception $e) { + \Log::error($e); + } + } + // Delete the model $model->delete(); diff --git a/app/Http/Controllers/ManufacturersController.php b/app/Http/Controllers/ManufacturersController.php index 8c7a666c5e06..5d058f501d37 100755 --- a/app/Http/Controllers/ManufacturersController.php +++ b/app/Http/Controllers/ManufacturersController.php @@ -76,7 +76,7 @@ public function store(ImageUploadRequest $request) if ($request->file('image')) { $image = $request->file('image'); - $file_name = str_random(25).".".$image->getClientOriginalExtension(); + $file_name = str_slug($image->getClientOriginalName()).".".$image->getClientOriginalExtension(); $path = public_path('uploads/manufacturers/'.$file_name); Image::make($image->getRealPath())->resize(200, null, function ($constraint) { $constraint->aspectRatio(); @@ -140,8 +140,17 @@ public function update(Request $request, $manufacturerId = null) if ($request->file('image')) { $image = $request->file('image'); - $file_name = str_random(25).".".$image->getClientOriginalExtension(); + $file_name = str_slug($image->getClientOriginalName()).".".$image->getClientOriginalExtension(); $path = public_path('uploads/manufacturers/'.$file_name); + $old_image = $path.$model->image; + + try { + unlink($old_image); + } catch (\Exception $e) { + \Log::error($e); + } + + Image::make($image->getRealPath())->resize(200, null, function ($constraint) { $constraint->aspectRatio(); $constraint->upsize(); @@ -178,6 +187,16 @@ public function destroy($manufacturerId) // Redirect to the asset management page return redirect()->route('manufacturers.index')->with('error', trans('admin/manufacturers/message.assoc_users')); } + + if ($manufacturer->image) { + try { + unlink(public_path().'/uploads/manufacturers/'.$manufacturer->image); + } catch (\Exception $e) { + \Log::error($e); + } + } + + // Delete the manufacturer $manufacturer->delete(); // Redirect to the manufacturers management page diff --git a/database/factories/ActionLogFactory.php b/database/factories/ActionLogFactory.php index a49d56b85298..d1a8ece7dd76 100644 --- a/database/factories/ActionLogFactory.php +++ b/database/factories/ActionLogFactory.php @@ -34,7 +34,8 @@ ->update( [ 'assigned_to' => $target->id, - 'assigned_type' => App\Models\User::class + 'assigned_type' => App\Models\User::class, + 'assigned_to' => $target->location_id, ] ); @@ -59,7 +60,8 @@ ->update( [ 'assigned_to' => $target->id, - 'assigned_type' => App\Models\Location::class + 'assigned_type' => App\Models\Location::class, + 'assigned_to' => $target->id, ] ); diff --git a/database/factories/AssetFactory.php b/database/factories/AssetFactory.php index 112ecf889df8..affb568f8aa6 100644 --- a/database/factories/AssetFactory.php +++ b/database/factories/AssetFactory.php @@ -16,7 +16,7 @@ $factory->define(Asset::class, function (Faker\Generator $faker) { return [ 'name' => null, - 'rtd_location_id' => rand(1,30), + 'rtd_location_id' => rand(1,10), 'serial' => $faker->uuid, 'status_id' => 1, 'user_id' => 1, diff --git a/database/factories/AssetModelFactory.php b/database/factories/AssetModelFactory.php index a1c3d562da00..d63458878504 100644 --- a/database/factories/AssetModelFactory.php +++ b/database/factories/AssetModelFactory.php @@ -32,6 +32,7 @@ 'manufacturer_id' => 1, 'eol' => '36', 'depreciation_id' => 1, + 'image' => 'mbp.jpg', ]; }); @@ -43,6 +44,7 @@ 'manufacturer_id' => 1, 'eol' => '36', 'depreciation_id' => 1, + 'image' => 'macbookair.jpg', ]; }); @@ -54,6 +56,7 @@ 'manufacturer_id' => 2, 'eol' => '36', 'depreciation_id' => 1, + 'image' => 'surface.jpg', ]; }); @@ -65,6 +68,7 @@ 'manufacturer_id' => 3, 'eol' => '36', 'depreciation_id' => 1, + 'image' => 'xps.jpg', ]; }); @@ -76,6 +80,7 @@ 'manufacturer_id' => 4, 'eol' => '36', 'depreciation_id' => 1, + 'image' => 'zenbook.jpg', ]; }); @@ -87,6 +92,7 @@ 'manufacturer_id' => 5, 'eol' => '36', 'depreciation_id' => 1, + 'image' => 'spectre.jpg', ]; }); @@ -98,6 +104,7 @@ 'manufacturer_id' => 6, 'eol' => '36', 'depreciation_id' => 1, + 'image' => 'yoga.png', ]; }); @@ -115,6 +122,7 @@ 'manufacturer_id' => 1, 'eol' => '24', 'depreciation_id' => 1, + 'image' => 'imacpro.jpg', ]; }); @@ -125,6 +133,7 @@ 'manufacturer_id' => 6, 'eol' => '24', 'depreciation_id' => 1, + 'image' => 'lenovoi5.png', ]; }); @@ -136,6 +145,7 @@ 'model_number' => '5040 (MRR81)', 'eol' => '24', 'depreciation_id' => 1, + 'image' => 'optiplex.jpg', ]; }); @@ -154,6 +164,7 @@ 'manufacturer_id' => 8, 'eol' => '12', 'depreciation_id' => 1, + 'image' => 'soundstation.jpg', ]; }); @@ -164,6 +175,7 @@ 'manufacturer_id' => 8, 'eol' => '12', 'depreciation_id' => 1, + 'image' => 'cx3000.png', ]; }); @@ -181,6 +193,7 @@ 'manufacturer_id' => 1, 'eol' => '12', 'depreciation_id' => 1, + 'image' => 'ipad.jpg', ]; }); @@ -192,6 +205,7 @@ 'manufacturer_id' => 6, 'eol' => '12', 'depreciation_id' => 1, + 'image' => 'tab3.png', ]; }); @@ -209,6 +223,7 @@ 'manufacturer_id' => 1, 'eol' => '12', 'depreciation_id' => 3, + 'image' => 'iphone6.jpg', ]; }); @@ -219,6 +234,7 @@ 'manufacturer_id' => 1, 'eol' => '12', 'depreciation_id' => 1, + 'image' => 'iphone7.jpg', ]; }); @@ -235,6 +251,7 @@ 'manufacturer_id' => 7, 'eol' => '12', 'depreciation_id' => 2, + 'image' => 'ultrafine.jpg', ]; }); @@ -245,6 +262,7 @@ 'manufacturer_id' => 3, 'eol' => '12', 'depreciation_id' => 2, + 'image' => 'ultrasharp.jpg', ]; }); diff --git a/database/factories/ManufacturerFactory.php b/database/factories/ManufacturerFactory.php index 55f34c40abbe..ff1ab4645f4f 100644 --- a/database/factories/ManufacturerFactory.php +++ b/database/factories/ManufacturerFactory.php @@ -24,7 +24,8 @@ return [ 'name' => 'Apple', 'url' => 'https://apple.com', - 'support_url' => 'https://support.apple.com' + 'support_url' => 'https://support.apple.com', + 'image' => 'apple.jpg', ]; }); @@ -33,7 +34,8 @@ return [ 'name' => 'Microsoft', 'url' => 'https://microsoft.com', - 'support_url' => 'https://support.microsoft.com' + 'support_url' => 'https://support.microsoft.com', + 'image' => 'microsoft.png', ]; }); @@ -42,7 +44,8 @@ return [ 'name' => 'Dell', 'url' => 'https://dell.com', - 'support_url' => 'https://support.dell.com' + 'support_url' => 'https://support.dell.com', + 'image' => 'dell.png', ]; }); @@ -51,7 +54,8 @@ return [ 'name' => 'Asus', 'url' => 'https://asus.com', - 'support_url' => 'https://support.asus.com' + 'support_url' => 'https://support.asus.com', + 'image' => 'asus.png', ]; }); @@ -60,7 +64,8 @@ return [ 'name' => 'HP', 'url' => 'https://hp.com', - 'support_url' => 'https://support.hp.com' + 'support_url' => 'https://support.hp.com', + 'image' => 'hp.png', ]; }); @@ -69,7 +74,8 @@ return [ 'name' => 'Lenovo', 'url' => 'https://lenovo.com', - 'support_url' => 'https://support.lenovo.com' + 'support_url' => 'https://support.lenovo.com', + 'image' => 'lenovo.jpg', ]; }); @@ -78,7 +84,8 @@ return [ 'name' => 'LG', 'url' => 'https://lg.com', - 'support_url' => 'https://support.lg.com' + 'support_url' => 'https://support.lg.com', + 'image' => 'lg.jpg', ]; }); @@ -87,7 +94,8 @@ return [ 'name' => 'Polycom', 'url' => 'https://polycom.com', - 'support_url' => 'https://support.polycom.com' + 'support_url' => 'https://support.polycom.com', + 'image' => 'polycom.png', ]; }); @@ -96,7 +104,8 @@ return [ 'name' => 'Adobe', 'url' => 'https://adobe.com', - 'support_url' => 'https://support.adobe.com' + 'support_url' => 'https://support.adobe.com', + 'image' => 'adobe.jpg', ]; }); @@ -106,7 +115,8 @@ return [ 'name' => 'Avery', 'url' => 'https://avery.com', - 'support_url' => 'https://support.avery.com' + 'support_url' => 'https://support.avery.com', + 'image' => 'avery.png', ]; }); @@ -115,7 +125,8 @@ return [ 'name' => 'Crucial', 'url' => 'https://crucial.com', - 'support_url' => 'https://support.crucial.com' + 'support_url' => 'https://support.crucial.com', + 'image' => 'crucial.jpg', ]; }); diff --git a/database/factories/ModelFactory.php b/database/factories/ModelFactory.php index bc7b29a6842c..26c561caa1e8 100644 --- a/database/factories/ModelFactory.php +++ b/database/factories/ModelFactory.php @@ -55,7 +55,8 @@ 'state' => $faker->stateAbbr, 'country' => $faker->countryCode, 'currency' => $faker->currencyCode, - 'zip' => $faker->postcode + 'zip' => $faker->postcode, + 'image' => rand(1,9).'.jpg', ]; }); diff --git a/database/seeds/AssetModelSeeder.php b/database/seeds/AssetModelSeeder.php index dc27ddad2630..fdb1adef0a46 100755 --- a/database/seeds/AssetModelSeeder.php +++ b/database/seeds/AssetModelSeeder.php @@ -39,6 +39,23 @@ public function run() factory(AssetModel::class, 1)->states('ultrafine')->create(); // 17 factory(AssetModel::class, 1)->states('ultrasharp')->create(); // 18 + $src = public_path('/img/demo/models'); + $dst = public_path('/uploads/models'); + + $del_files = glob($dst."/*.*"); + + foreach($del_files as $del_file){ // iterate files + if(is_file($del_file)) + unlink($del_file); // delete file + } + + + $add_files = glob($src."/*.*"); + foreach($add_files as $add_file){ + $file_to_copy = str_replace($src,$dst,$add_file); + copy($add_file, $file_to_copy); + } + } diff --git a/database/seeds/AssetSeeder.php b/database/seeds/AssetSeeder.php index 63975b5ba021..4afd1fd3df4c 100644 --- a/database/seeds/AssetSeeder.php +++ b/database/seeds/AssetSeeder.php @@ -35,5 +35,15 @@ public function run() factory(Asset::class, 10)->states('ultrasharp')->create(); + $dst = public_path('/uploads/assets'); + + $del_files = glob($dst."/*.*"); + + foreach($del_files as $del_file){ // iterate files + if(is_file($del_file)) + unlink($del_file); // delete file + } + + } } diff --git a/database/seeds/CompanySeeder.php b/database/seeds/CompanySeeder.php index ba1ac00ba94f..3885b939f46f 100644 --- a/database/seeds/CompanySeeder.php +++ b/database/seeds/CompanySeeder.php @@ -15,5 +15,23 @@ public function run() // Company::truncate(); factory(Company::class, 4)->create(); + + $src = public_path('/img/demo/companies'); + $dst = public_path('/uploads/companies'); + + $del_files = glob($dst."/*.*"); + + foreach($del_files as $del_file){ // iterate files + if(is_file($del_file)) + unlink($del_file); // delete file + } + + + $add_files = glob($src."/*.*"); + foreach($add_files as $add_file){ + $file_to_copy = str_replace($src,$dst,$add_file); + copy($add_file, $file_to_copy); + } + } } diff --git a/database/seeds/LocationSeeder.php b/database/seeds/LocationSeeder.php index 494f08c88f23..40d389792f86 100644 --- a/database/seeds/LocationSeeder.php +++ b/database/seeds/LocationSeeder.php @@ -8,6 +8,24 @@ class LocationSeeder extends Seeder public function run() { Location::truncate(); - factory(Location::class, 30)->create(); + factory(Location::class, 10)->create(); + + $src = public_path('/img/demo/locations'); + $dst = public_path('/uploads/locations'); + + $del_files = glob($dst."/*.*"); + + foreach($del_files as $del_file){ // iterate files + if(is_file($del_file)) + unlink($del_file); // delete file + } + + + $add_files = glob($src."/*.*"); + foreach($add_files as $add_file){ + $file_to_copy = str_replace($src,$dst,$add_file); + copy($add_file, $file_to_copy); + } + } } diff --git a/database/seeds/ManufacturerSeeder.php b/database/seeds/ManufacturerSeeder.php index 262e14a0d3a8..f6d9a2451e80 100644 --- a/database/seeds/ManufacturerSeeder.php +++ b/database/seeds/ManufacturerSeeder.php @@ -17,6 +17,27 @@ public function run() factory(Manufacturer::class, 1)->states('polycom')->create(); // 8 factory(Manufacturer::class, 1)->states('adobe')->create(); // 9 factory(Manufacturer::class, 1)->states('avery')->create(); // 10 + factory(Manufacturer::class, 1)->states('crucial')->create(); // 10 + + $src = public_path('/img/demo/manufacturers'); + $dst = public_path('/uploads/manufacturers'); + + $del_files = glob($dst."/*.*"); + + foreach($del_files as $del_file){ // iterate files + if(is_file($del_file)) + unlink($del_file); // delete file + } + + + $add_files = glob($src."/*.*"); + foreach($add_files as $add_file){ + $file_to_copy = str_replace($src,$dst,$add_file); + copy($add_file, $file_to_copy); + } + } + + } diff --git a/database/seeds/SupplierSeeder.php b/database/seeds/SupplierSeeder.php index 95fd894c02eb..87ca416abd2f 100644 --- a/database/seeds/SupplierSeeder.php +++ b/database/seeds/SupplierSeeder.php @@ -8,5 +8,23 @@ public function run() { Supplier::truncate(); factory(Supplier::class, 5)->create(); + + $src = public_path('/img/demo/suppliers'); + $dst = public_path('/uploads/suppliers'); + + $del_files = glob($dst."/*.*"); + + foreach($del_files as $del_file){ // iterate files + if(is_file($del_file)) + unlink($del_file); // delete file + } + + + $add_files = glob($src."/*.*"); + foreach($add_files as $add_file){ + $file_to_copy = str_replace($src,$dst,$add_file); + copy($add_file, $file_to_copy); + } + } } diff --git a/database/seeds/UserSeeder.php b/database/seeds/UserSeeder.php index 9e088df426dc..348a26a6b446 100644 --- a/database/seeds/UserSeeder.php +++ b/database/seeds/UserSeeder.php @@ -18,5 +18,6 @@ public function run() factory(User::class, 3)->states('superuser')->create(); factory(User::class, 3)->states('admin')->create(); factory(User::class, 50)->states('view-assets')->create(); + } } diff --git a/public/img/demo/locations/1.jpg b/public/img/demo/locations/1.jpg new file mode 100644 index 000000000000..607e155021f2 Binary files /dev/null and b/public/img/demo/locations/1.jpg differ diff --git a/public/img/demo/locations/2.jpg b/public/img/demo/locations/2.jpg new file mode 100644 index 000000000000..5eb4f09170d9 Binary files /dev/null and b/public/img/demo/locations/2.jpg differ diff --git a/public/img/demo/locations/3.jpg b/public/img/demo/locations/3.jpg new file mode 100644 index 000000000000..ce6c3ef99ad9 Binary files /dev/null and b/public/img/demo/locations/3.jpg differ diff --git a/public/img/demo/locations/4.jpg b/public/img/demo/locations/4.jpg new file mode 100644 index 000000000000..607e155021f2 Binary files /dev/null and b/public/img/demo/locations/4.jpg differ diff --git a/public/img/demo/locations/5.jpg b/public/img/demo/locations/5.jpg new file mode 100644 index 000000000000..f7672342f9ee Binary files /dev/null and b/public/img/demo/locations/5.jpg differ diff --git a/public/img/demo/locations/6.jpg b/public/img/demo/locations/6.jpg new file mode 100644 index 000000000000..75d0321d87a0 Binary files /dev/null and b/public/img/demo/locations/6.jpg differ diff --git a/public/img/demo/locations/7.jpg b/public/img/demo/locations/7.jpg new file mode 100644 index 000000000000..c3444e937506 Binary files /dev/null and b/public/img/demo/locations/7.jpg differ diff --git a/public/img/demo/locations/8.jpg b/public/img/demo/locations/8.jpg new file mode 100644 index 000000000000..7a52edbf1af1 Binary files /dev/null and b/public/img/demo/locations/8.jpg differ diff --git a/public/img/demo/locations/9.jpg b/public/img/demo/locations/9.jpg new file mode 100644 index 000000000000..d4cc1467fc21 Binary files /dev/null and b/public/img/demo/locations/9.jpg differ diff --git a/public/img/demo/manufacturers/adobe.jpg b/public/img/demo/manufacturers/adobe.jpg new file mode 100644 index 000000000000..91bc92384130 Binary files /dev/null and b/public/img/demo/manufacturers/adobe.jpg differ diff --git a/public/img/demo/manufacturers/apple.jpg b/public/img/demo/manufacturers/apple.jpg new file mode 100644 index 000000000000..b828f84d71d6 Binary files /dev/null and b/public/img/demo/manufacturers/apple.jpg differ diff --git a/public/img/demo/manufacturers/asus.png b/public/img/demo/manufacturers/asus.png new file mode 100644 index 000000000000..969b8260ebad Binary files /dev/null and b/public/img/demo/manufacturers/asus.png differ diff --git a/public/img/demo/manufacturers/avery.png b/public/img/demo/manufacturers/avery.png new file mode 100644 index 000000000000..882d82cce20f Binary files /dev/null and b/public/img/demo/manufacturers/avery.png differ diff --git a/public/img/demo/manufacturers/crucial.jpg b/public/img/demo/manufacturers/crucial.jpg new file mode 100644 index 000000000000..33f38abffa34 Binary files /dev/null and b/public/img/demo/manufacturers/crucial.jpg differ diff --git a/public/img/demo/manufacturers/dell.png b/public/img/demo/manufacturers/dell.png new file mode 100644 index 000000000000..452d53aeb9a2 Binary files /dev/null and b/public/img/demo/manufacturers/dell.png differ diff --git a/public/img/demo/manufacturers/hp.png b/public/img/demo/manufacturers/hp.png new file mode 100644 index 000000000000..1bc6b32f9a62 Binary files /dev/null and b/public/img/demo/manufacturers/hp.png differ diff --git a/public/img/demo/manufacturers/lenovo.jpg b/public/img/demo/manufacturers/lenovo.jpg new file mode 100644 index 000000000000..cfa899a9a735 Binary files /dev/null and b/public/img/demo/manufacturers/lenovo.jpg differ diff --git a/public/img/demo/manufacturers/lg.jpg b/public/img/demo/manufacturers/lg.jpg new file mode 100644 index 000000000000..3c0a73178764 Binary files /dev/null and b/public/img/demo/manufacturers/lg.jpg differ diff --git a/public/img/demo/manufacturers/microsoft.png b/public/img/demo/manufacturers/microsoft.png new file mode 100644 index 000000000000..9f7e2ca8539b Binary files /dev/null and b/public/img/demo/manufacturers/microsoft.png differ diff --git a/public/img/demo/manufacturers/polycom.png b/public/img/demo/manufacturers/polycom.png new file mode 100644 index 000000000000..fa7027a3961d Binary files /dev/null and b/public/img/demo/manufacturers/polycom.png differ diff --git a/public/img/demo/models/cx3000.png b/public/img/demo/models/cx3000.png new file mode 100644 index 000000000000..8cc055b36acb Binary files /dev/null and b/public/img/demo/models/cx3000.png differ diff --git a/public/img/demo/models/imacpro.jpg b/public/img/demo/models/imacpro.jpg new file mode 100644 index 000000000000..24b8c85e12e7 Binary files /dev/null and b/public/img/demo/models/imacpro.jpg differ diff --git a/public/img/demo/models/ipad.jpg b/public/img/demo/models/ipad.jpg new file mode 100644 index 000000000000..6dbbecb8cde3 Binary files /dev/null and b/public/img/demo/models/ipad.jpg differ diff --git a/public/img/demo/models/iphone6.jpg b/public/img/demo/models/iphone6.jpg new file mode 100644 index 000000000000..5a0bc9ba0fa9 Binary files /dev/null and b/public/img/demo/models/iphone6.jpg differ diff --git a/public/img/demo/models/iphone7.jpg b/public/img/demo/models/iphone7.jpg new file mode 100644 index 000000000000..4d73fb6e40e6 Binary files /dev/null and b/public/img/demo/models/iphone7.jpg differ diff --git a/public/img/demo/models/lenovoi5.png b/public/img/demo/models/lenovoi5.png new file mode 100644 index 000000000000..85eb798bc5da Binary files /dev/null and b/public/img/demo/models/lenovoi5.png differ diff --git a/public/img/demo/models/macbookair.jpg b/public/img/demo/models/macbookair.jpg new file mode 100644 index 000000000000..6b175dcaf9b8 Binary files /dev/null and b/public/img/demo/models/macbookair.jpg differ diff --git a/public/img/demo/models/mbp.jpg b/public/img/demo/models/mbp.jpg new file mode 100644 index 000000000000..1b8205d99392 Binary files /dev/null and b/public/img/demo/models/mbp.jpg differ diff --git a/public/img/demo/models/optiplex.jpg b/public/img/demo/models/optiplex.jpg new file mode 100644 index 000000000000..095652e1eb5b Binary files /dev/null and b/public/img/demo/models/optiplex.jpg differ diff --git a/public/img/demo/models/soundstation.jpg b/public/img/demo/models/soundstation.jpg new file mode 100644 index 000000000000..1845351ea039 Binary files /dev/null and b/public/img/demo/models/soundstation.jpg differ diff --git a/public/img/demo/models/spectre.jpg b/public/img/demo/models/spectre.jpg new file mode 100644 index 000000000000..34e7031265de Binary files /dev/null and b/public/img/demo/models/spectre.jpg differ diff --git a/public/img/demo/models/surface.jpg b/public/img/demo/models/surface.jpg new file mode 100644 index 000000000000..2eb9e4e1de71 Binary files /dev/null and b/public/img/demo/models/surface.jpg differ diff --git a/public/img/demo/models/tab3.png b/public/img/demo/models/tab3.png new file mode 100644 index 000000000000..56b3b22012e3 Binary files /dev/null and b/public/img/demo/models/tab3.png differ diff --git a/public/img/demo/models/ultrafine.jpg b/public/img/demo/models/ultrafine.jpg new file mode 100644 index 000000000000..c5df4551ab34 Binary files /dev/null and b/public/img/demo/models/ultrafine.jpg differ diff --git a/public/img/demo/models/ultrasharp.jpg b/public/img/demo/models/ultrasharp.jpg new file mode 100644 index 000000000000..f43f947c36db Binary files /dev/null and b/public/img/demo/models/ultrasharp.jpg differ diff --git a/public/img/demo/models/xps.jpg b/public/img/demo/models/xps.jpg new file mode 100644 index 000000000000..ab22855ee5b6 Binary files /dev/null and b/public/img/demo/models/xps.jpg differ diff --git a/public/img/demo/models/yoga.png b/public/img/demo/models/yoga.png new file mode 100644 index 000000000000..94263b997e99 Binary files /dev/null and b/public/img/demo/models/yoga.png differ diff --git a/public/img/demo/models/zenbook.jpg b/public/img/demo/models/zenbook.jpg new file mode 100644 index 000000000000..e6258c72e827 Binary files /dev/null and b/public/img/demo/models/zenbook.jpg differ diff --git a/public/uploads/companies/LNwfCJ5P4WtaViO1XYbkWgX8D.jpg b/public/uploads/companies/LNwfCJ5P4WtaViO1XYbkWgX8D.jpg deleted file mode 100644 index 3aae4799f9f1..000000000000 Binary files a/public/uploads/companies/LNwfCJ5P4WtaViO1XYbkWgX8D.jpg and /dev/null differ diff --git a/public/uploads/companies/RZAs6WvRP9P5WMJIaPS0f1rDT.jpg b/public/uploads/companies/RZAs6WvRP9P5WMJIaPS0f1rDT.jpg deleted file mode 100644 index 57b28c264d37..000000000000 Binary files a/public/uploads/companies/RZAs6WvRP9P5WMJIaPS0f1rDT.jpg and /dev/null differ