public function lostImage()
    {
        $imagePath = app(AssetService::class)->generateImage('File Not Found');

        $image = InterventionImage::make($imagePath)->resize(config('cms.preview-image-size', 800), null, function ($constraint) {
            $constraint->aspectRatio();
        });

        return (string) $image->encode('data-url');
    }
public function lostImage()
    {
        $imagePath = app(AssetService::class)->generateImage('File Not Found');

        $image = InterventionImage::make($imagePath)->resize(config('cms.preview-image-size', 800), null, function ($constraint) {
            $constraint->aspectRatio();
        });

        return (string) $image->encode('data-url');
    }
public function lostImage ( ) { $ imagePath = app ( AssetService :: class ) -> generateImage ( 'File Not Found' ) ; $ image = InterventionImage :: make ( $ imagePath ) -> resize ( config ( 'cms.preview-image-size' , 800 ) , null , function ( $ constraint ) { $ constraint -> aspectRatio ( ) ; } ) ; return ( string ) $ image -> encode ( 'data-url' ) ; }
Staged image if none are found

@return string
Staged image if none are found