src/storage/BaseFileSystemStorage.php
public function processThumbnails()
    {
        foreach ($this->findFiles(['is_hidden' => false, 'is_deleted' => false]) as $file) {
            if ($file->isImage) {
                // create tiny thumbnail
                $this->createImage($file->id, $this->getFilterId(TinyCrop::identifier()));
                $this->createImage($file->id, $this->getFilterId(MediumThumbnail::identifier()));
            }
        }

        // force auto fix
        $this->autoFixMissingImageSources = true;

        foreach ($this->findImages() as $image) {
            if (!empty($image->file) && !$image->file->isHidden && !$image->file->isDeleted) {
                $image->source; // which forces to recreate missing sources.
            }
        }

        return true;
    }
public function processThumbnails()
    {
        foreach ($this->findFiles(['is_hidden' => false, 'is_deleted' => false]) as $file) {
            if ($file->isImage) {
                // create tiny thumbnail
                $this->createImage($file->id, $this->getFilterId(TinyCrop::identifier()));
                $this->createImage($file->id, $this->getFilterId(MediumThumbnail::identifier()));
            }
        }

        // force auto fix
        $this->autoFixMissingImageSources = true;

        foreach ($this->findImages() as $image) {
            if (!empty($image->file) && !$image->file->isHidden && !$image->file->isDeleted) {
                $image->source; // which forces to recreate missing sources.
            }
        }

        return true;
    }
public function processThumbnails ( ) { foreach ( $ this -> findFiles ( [ 'is_hidden' => false , 'is_deleted' => false ] ) as $ file ) { if ( $ file -> isImage ) { // create tiny thumbnail $ this -> createImage ( $ file -> id , $ this -> getFilterId ( TinyCrop :: identifier ( ) ) ) ; $ this -> createImage ( $ file -> id , $ this -> getFilterId ( MediumThumbnail :: identifier ( ) ) ) ; } } // force auto fix $ this -> autoFixMissingImageSources = true ; foreach ( $ this -> findImages ( ) as $ image ) { if ( ! empty ( $ image -> file ) && ! $ image -> file -> isHidden && ! $ image -> file -> isDeleted ) { $ image -> source ; // which forces to recreate missing sources. } } return true ; }
This method allwos you to generate all thumbnails for the file manager, you can trigger this process when
importing or creating several images at once, so the user does not have to create the thumbnails

@return boolean
This method allwos you to generate all thumbnails for the file manager you can trigger this process when importing or creating several images at once so the user does not have to create the thumbnails