A free open source IT asset/license management system
Seed with demo images
snipe4f1747023a10
diff --git a/app/Http/Controllers/Api/AssetModelsController.php b/app/Http/Controllers/Api/AssetModelsController.phpindex 01696d57ab..8b81947d2a 100644--- a/app/Http/Controllers/Api/AssetModelsController.php+++ b/app/Http/Controllers/Api/AssetModelsController.php@@ -159,6 +159,14 @@ class AssetModelsController extends Controllerreturn 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.phpindex a7fdd51310..fe752fced3 100755--- a/app/Http/Controllers/AssetModelsController.php+++ b/app/Http/Controllers/AssetModelsController.php@@ -93,7 +93,7 @@ class AssetModelsController extends Controllerif (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 @@ class AssetModelsController extends Controller}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 @@ class AssetModelsController extends Controller// Throw an error that this model is associated with assetsreturn 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.phpindex 8c7a666c5e..5d058f501d 100755--- a/app/Http/Controllers/ManufacturersController.php+++ b/app/Http/Controllers/ManufacturersController.php@@ -76,7 +76,7 @@ class ManufacturersController extends Controllerif ($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 @@ class ManufacturersController extends Controllerif ($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 @@ class ManufacturersController extends Controller// Redirect to the asset management pagereturn 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 pagediff --git a/database/factories/ActionLogFactory.php b/database/factories/ActionLogFactory.phpindex a49d56b852..d1a8ece7dd 100644--- a/database/factories/ActionLogFactory.php+++ b/database/factories/ActionLogFactory.php@@ -34,7 +34,8 @@ $factory->defineAs(Actionlog::class, 'asset-checkout-user', function (Faker\Gene->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 @@ $factory->defineAs(Actionlog::class, 'asset-checkout-location', function (Faker\->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.phpindex 112ecf889d..affb568f8a 100644--- a/database/factories/AssetFactory.php+++ b/database/factories/AssetFactory.php@@ -16,7 +16,7 @@ use App\Models\Category;$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.phpindex a1c3d562da..d634588785 100644--- a/database/factories/AssetModelFactory.php+++ b/database/factories/AssetModelFactory.php@@ -32,6 +32,7 @@ $factory->state(App\Models\AssetModel::class, 'mbp-13-model', function ($faker)'manufacturer_id' => 1,'eol' => '36','depreciation_id' => 1,+ 'image' => 'mbp.jpg',];});@@ -43,6 +44,7 @@ $factory->state(App\Models\AssetModel::class, 'mbp-air-model', function ($faker)'manufacturer_id' => 1,'eol' => '36','depreciation_id' => 1,+ 'image' => 'macbookair.jpg',];});@@ -54,6 +56,7 @@ $factory->state(App\Models\AssetModel::class, 'surface-model', function ($faker)'manufacturer_id' => 2,'eol' => '36','depreciation_id' => 1,+ 'image' => 'surface.jpg',];});@@ -65,6 +68,7 @@ $factory->state(App\Models\AssetModel::class, 'xps13-model', function ($faker) {'manufacturer_id' => 3,'eol' => '36','depreciation_id' => 1,+ 'image' => 'xps.jpg',];});@@ -76,6 +80,7 @@ $factory->state(App\Models\AssetModel::class, 'zenbook-model', function ($faker)'manufacturer_id' => 4,'eol' => '36','depreciation_id' => 1,+ 'image' => 'zenbook.jpg',];});@@ -87,6 +92,7 @@ $factory->state(App\Models\AssetModel::class, 'spectre-model', function ($faker)'manufacturer_id' => 5,'eol' => '36','depreciation_id' => 1,+ 'image' => 'spectre.jpg',];});@@ -98,6 +104,7 @@ $factory->state(App\Models\AssetModel::class, 'yoga-model', function ($faker) {'manufacturer_id' => 6,'eol' => '36','depreciation_id' => 1,+ 'image' => 'yoga.png',];});@@ -115,6 +122,7 @@ $factory->state(App\Models\AssetModel::class, 'macpro-model', function ($faker)'manufacturer_id' => 1,'eol' => '24','depreciation_id' => 1,+ 'image' => 'imacpro.jpg',];});@@ -125,6 +133,7 @@ $factory->state(App\Models\AssetModel::class, 'lenovo-i5-model', function ($fake'manufacturer_id' => 6,'eol' => '24','depreciation_id' => 1,+ 'image' => 'lenovoi5.png',];});@@ -136,6 +145,7 @@ $factory->state(App\Models\AssetModel::class, 'optiplex-model', function ($faker'model_number' => '5040 (MRR81)','eol' => '24','depreciation_id' => 1,+ 'image' => 'optiplex.jpg',];});@@ -154,6 +164,7 @@ $factory->state(App\Models\AssetModel::class, 'polycom-model', function ($faker)'manufacturer_id' => 8,'eol' => '12','depreciation_id' => 1,+ 'image' => 'soundstation.jpg',];});@@ -164,6 +175,7 @@ $factory->state(App\Models\AssetModel::class, 'polycomcx-model', function ($fake'manufacturer_id' => 8,'eol' => '12','depreciation_id' => 1,+ 'image' => 'cx3000.png',];});@@ -181,6 +193,7 @@ $factory->state(App\Models\AssetModel::class, 'ipad-model', function ($faker) {'manufacturer_id' => 1,'eol' => '12','depreciation_id' => 1,+ 'image' => 'ipad.jpg',];});@@ -192,6 +205,7 @@ $factory->state(App\Models\AssetModel::class, 'tab3-model', function ($faker) {'manufacturer_id' => 6,'eol' => '12','depreciation_id' => 1,+ 'image' => 'tab3.png',];});@@ -209,6 +223,7 @@ $factory->state(App\Models\AssetModel::class, 'iphone6s-model', function ($faker'manufacturer_id' => 1,'eol' => '12','depreciation_id' => 3,+ 'image' => 'iphone6.jpg',];});@@ -219,6 +234,7 @@ $factory->state(App\Models\AssetModel::class, 'iphone7-model', function ($faker)'manufacturer_id' => 1,'eol' => '12','depreciation_id' => 1,+ 'image' => 'iphone7.jpg',];});@@ -235,6 +251,7 @@ $factory->state(App\Models\AssetModel::class, 'ultrafine', function ($faker) {'manufacturer_id' => 7,'eol' => '12','depreciation_id' => 2,+ 'image' => 'ultrafine.jpg',];});@@ -245,6 +262,7 @@ $factory->state(App\Models\AssetModel::class, 'ultrasharp', function ($faker) {'manufacturer_id' => 3,'eol' => '12','depreciation_id' => 2,+ 'image' => 'ultrasharp.jpg',];});diff --git a/database/factories/ManufacturerFactory.php b/database/factories/ManufacturerFactory.phpindex 55f34c40ab..ff1ab4645f 100644--- a/database/factories/ManufacturerFactory.php+++ b/database/factories/ManufacturerFactory.php@@ -24,7 +24,8 @@ $factory->state(App\Models\Manufacturer::class, 'apple', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'microsoft', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'dell', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'asus', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'hp', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'lenovo', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'lg', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'polycom', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'adobe', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'avery', function ($faker) {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 @@ $factory->state(App\Models\Manufacturer::class, 'crucial', function ($faker) {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.phpindex bc7b29a684..26c561caa1 100644--- a/database/factories/ModelFactory.php+++ b/database/factories/ModelFactory.php@@ -55,7 +55,8 @@ $factory->define(App\Models\Location::class, function (Faker\Generator $faker) {'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.phpindex dc27ddad26..fdb1adef0a 100755--- a/database/seeds/AssetModelSeeder.php+++ b/database/seeds/AssetModelSeeder.php@@ -39,6 +39,23 @@ class AssetModelSeeder extends Seederfactory(AssetModel::class, 1)->states('ultrafine')->create(); // 17factory(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.phpindex 63975b5ba0..4afd1fd3df 100644--- a/database/seeds/AssetSeeder.php+++ b/database/seeds/AssetSeeder.php@@ -35,5 +35,15 @@ class AssetSeeder extends Seederfactory(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.phpindex ba1ac00ba9..3885b939f4 100644--- a/database/seeds/CompanySeeder.php+++ b/database/seeds/CompanySeeder.php@@ -15,5 +15,23 @@ class CompanySeeder extends Seeder//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.phpindex 494f08c88f..40d389792f 100644--- a/database/seeds/LocationSeeder.php+++ b/database/seeds/LocationSeeder.php@@ -8,6 +8,24 @@ class LocationSeeder extends Seederpublic 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.phpindex 262e14a0d3..f6d9a2451e 100644--- a/database/seeds/ManufacturerSeeder.php+++ b/database/seeds/ManufacturerSeeder.php@@ -17,6 +17,27 @@ class ManufacturerSeeder extends Seederfactory(Manufacturer::class, 1)->states('polycom')->create(); // 8factory(Manufacturer::class, 1)->states('adobe')->create(); // 9factory(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.phpindex 95fd894c02..87ca416abd 100644--- a/database/seeds/SupplierSeeder.php+++ b/database/seeds/SupplierSeeder.php@@ -8,5 +8,23 @@ class SupplierSeeder extends Seeder{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.phpindex 9e088df426..348a26a6b4 100644--- a/database/seeds/UserSeeder.php+++ b/database/seeds/UserSeeder.php@@ -18,5 +18,6 @@ class UserSeeder extends Seederfactory(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.jpgnew file mode 100644index 0000000000..607e155021Binary files /dev/null and b/public/img/demo/locations/1.jpg differdiff --git a/public/img/demo/locations/2.jpg b/public/img/demo/locations/2.jpgnew file mode 100644index 0000000000..5eb4f09170Binary files /dev/null and b/public/img/demo/locations/2.jpg differdiff --git a/public/img/demo/locations/3.jpg b/public/img/demo/locations/3.jpgnew file mode 100644index 0000000000..ce6c3ef99aBinary files /dev/null and b/public/img/demo/locations/3.jpg differdiff --git a/public/img/demo/locations/4.jpg b/public/img/demo/locations/4.jpgnew file mode 100644index 0000000000..607e155021Binary files /dev/null and b/public/img/demo/locations/4.jpg differdiff --git a/public/img/demo/locations/5.jpg b/public/img/demo/locations/5.jpgnew file mode 100644index 0000000000..f7672342f9Binary files /dev/null and b/public/img/demo/locations/5.jpg differdiff --git a/public/img/demo/locations/6.jpg b/public/img/demo/locations/6.jpgnew file mode 100644index 0000000000..75d0321d87Binary files /dev/null and b/public/img/demo/locations/6.jpg differdiff --git a/public/img/demo/locations/7.jpg b/public/img/demo/locations/7.jpgnew file mode 100644index 0000000000..c3444e9375Binary files /dev/null and b/public/img/demo/locations/7.jpg differdiff --git a/public/img/demo/locations/8.jpg b/public/img/demo/locations/8.jpgnew file mode 100644index 0000000000..7a52edbf1aBinary files /dev/null and b/public/img/demo/locations/8.jpg differdiff --git a/public/img/demo/locations/9.jpg b/public/img/demo/locations/9.jpgnew file mode 100644index 0000000000..d4cc1467fcBinary files /dev/null and b/public/img/demo/locations/9.jpg differdiff --git a/public/img/demo/manufacturers/adobe.jpg b/public/img/demo/manufacturers/adobe.jpgnew file mode 100644index 0000000000..91bc923841Binary files /dev/null and b/public/img/demo/manufacturers/adobe.jpg differdiff --git a/public/img/demo/manufacturers/apple.jpg b/public/img/demo/manufacturers/apple.jpgnew file mode 100644index 0000000000..b828f84d71Binary files /dev/null and b/public/img/demo/manufacturers/apple.jpg differdiff --git a/public/img/demo/manufacturers/asus.png b/public/img/demo/manufacturers/asus.pngnew file mode 100644index 0000000000..969b8260ebBinary files /dev/null and b/public/img/demo/manufacturers/asus.png differdiff --git a/public/img/demo/manufacturers/avery.png b/public/img/demo/manufacturers/avery.pngnew file mode 100644index 0000000000..882d82cce2Binary files /dev/null and b/public/img/demo/manufacturers/avery.png differdiff --git a/public/img/demo/manufacturers/crucial.jpg b/public/img/demo/manufacturers/crucial.jpgnew file mode 100644index 0000000000..33f38abffaBinary files /dev/null and b/public/img/demo/manufacturers/crucial.jpg differdiff --git a/public/img/demo/manufacturers/dell.png b/public/img/demo/manufacturers/dell.pngnew file mode 100644index 0000000000..452d53aeb9Binary files /dev/null and b/public/img/demo/manufacturers/dell.png differdiff --git a/public/img/demo/manufacturers/hp.png b/public/img/demo/manufacturers/hp.pngnew file mode 100644index 0000000000..1bc6b32f9aBinary files /dev/null and b/public/img/demo/manufacturers/hp.png differdiff --git a/public/img/demo/manufacturers/lenovo.jpg b/public/img/demo/manufacturers/lenovo.jpgnew file mode 100644index 0000000000..cfa899a9a7Binary files /dev/null and b/public/img/demo/manufacturers/lenovo.jpg differdiff --git a/public/img/demo/manufacturers/lg.jpg b/public/img/demo/manufacturers/lg.jpgnew file mode 100644index 0000000000..3c0a731787Binary files /dev/null and b/public/img/demo/manufacturers/lg.jpg differdiff --git a/public/img/demo/manufacturers/microsoft.png b/public/img/demo/manufacturers/microsoft.pngnew file mode 100644index 0000000000..9f7e2ca853Binary files /dev/null and b/public/img/demo/manufacturers/microsoft.png differdiff --git a/public/img/demo/manufacturers/polycom.png b/public/img/demo/manufacturers/polycom.pngnew file mode 100644index 0000000000..fa7027a396Binary files /dev/null and b/public/img/demo/manufacturers/polycom.png differdiff --git a/public/img/demo/models/cx3000.png b/public/img/demo/models/cx3000.pngnew file mode 100644index 0000000000..8cc055b36aBinary files /dev/null and b/public/img/demo/models/cx3000.png differdiff --git a/public/img/demo/models/imacpro.jpg b/public/img/demo/models/imacpro.jpgnew file mode 100644index 0000000000..24b8c85e12Binary files /dev/null and b/public/img/demo/models/imacpro.jpg differdiff --git a/public/img/demo/models/ipad.jpg b/public/img/demo/models/ipad.jpgnew file mode 100644index 0000000000..6dbbecb8cdBinary files /dev/null and b/public/img/demo/models/ipad.jpg differdiff --git a/public/img/demo/models/iphone6.jpg b/public/img/demo/models/iphone6.jpgnew file mode 100644index 0000000000..5a0bc9ba0fBinary files /dev/null and b/public/img/demo/models/iphone6.jpg differdiff --git a/public/img/demo/models/iphone7.jpg b/public/img/demo/models/iphone7.jpgnew file mode 100644index 0000000000..4d73fb6e40Binary files /dev/null and b/public/img/demo/models/iphone7.jpg differdiff --git a/public/img/demo/models/lenovoi5.png b/public/img/demo/models/lenovoi5.pngnew file mode 100644index 0000000000..85eb798bc5Binary files /dev/null and b/public/img/demo/models/lenovoi5.png differdiff --git a/public/img/demo/models/macbookair.jpg b/public/img/demo/models/macbookair.jpgnew file mode 100644index 0000000000..6b175dcaf9Binary files /dev/null and b/public/img/demo/models/macbookair.jpg differdiff --git a/public/img/demo/models/mbp.jpg b/public/img/demo/models/mbp.jpgnew file mode 100644index 0000000000..1b8205d993Binary files /dev/null and b/public/img/demo/models/mbp.jpg differdiff --git a/public/img/demo/models/optiplex.jpg b/public/img/demo/models/optiplex.jpgnew file mode 100644index 0000000000..095652e1ebBinary files /dev/null and b/public/img/demo/models/optiplex.jpg differdiff --git a/public/img/demo/models/soundstation.jpg b/public/img/demo/models/soundstation.jpgnew file mode 100644index 0000000000..1845351ea0Binary files /dev/null and b/public/img/demo/models/soundstation.jpg differdiff --git a/public/img/demo/models/spectre.jpg b/public/img/demo/models/spectre.jpgnew file mode 100644index 0000000000..34e7031265Binary files /dev/null and b/public/img/demo/models/spectre.jpg differdiff --git a/public/img/demo/models/surface.jpg b/public/img/demo/models/surface.jpgnew file mode 100644index 0000000000..2eb9e4e1deBinary files /dev/null and b/public/img/demo/models/surface.jpg differdiff --git a/public/img/demo/models/tab3.png b/public/img/demo/models/tab3.pngnew file mode 100644index 0000000000..56b3b22012Binary files /dev/null and b/public/img/demo/models/tab3.png differdiff --git a/public/img/demo/models/ultrafine.jpg b/public/img/demo/models/ultrafine.jpgnew file mode 100644index 0000000000..c5df4551abBinary files /dev/null and b/public/img/demo/models/ultrafine.jpg differdiff --git a/public/img/demo/models/ultrasharp.jpg b/public/img/demo/models/ultrasharp.jpgnew file mode 100644index 0000000000..f43f947c36Binary files /dev/null and b/public/img/demo/models/ultrasharp.jpg differdiff --git a/public/img/demo/models/xps.jpg b/public/img/demo/models/xps.jpgnew file mode 100644index 0000000000..ab22855ee5Binary files /dev/null and b/public/img/demo/models/xps.jpg differdiff --git a/public/img/demo/models/yoga.png b/public/img/demo/models/yoga.pngnew file mode 100644index 0000000000..94263b997eBinary files /dev/null and b/public/img/demo/models/yoga.png differdiff --git a/public/img/demo/models/zenbook.jpg b/public/img/demo/models/zenbook.jpgnew file mode 100644index 0000000000..e6258c72e8Binary files /dev/null and b/public/img/demo/models/zenbook.jpg differdiff --git a/public/uploads/companies/LNwfCJ5P4WtaViO1XYbkWgX8D.jpg b/public/uploads/companies/LNwfCJ5P4WtaViO1XYbkWgX8D.jpgdeleted file mode 100644index 3aae4799f9..0000000000Binary files a/public/uploads/companies/LNwfCJ5P4WtaViO1XYbkWgX8D.jpg and /dev/null differdiff --git a/public/uploads/companies/RZAs6WvRP9P5WMJIaPS0f1rDT.jpg b/public/uploads/companies/RZAs6WvRP9P5WMJIaPS0f1rDT.jpgdeleted file mode 100644index 57b28c264d..0000000000Binary files a/public/uploads/companies/RZAs6WvRP9P5WMJIaPS0f1rDT.jpg and /dev/null differ