Skip to content

Storage flooded #15

@contemas-tschmidt

Description

@contemas-tschmidt

Please add writeable false parameter in getFileForLocalProcessing
Currently the folder /var/transient/ is flooded with many images -> "fal-tempfile-xxxxxxxx"

Sitegeist\ImageJack\Templates\AbstractTemplate

public function __construct(ProcessedFile $image, LoggerUtility $logger)
    {
        $this->image = $image;
        $this->storage = $image->getStorage();
        // current
        $this->imagePath = $this->storage->getFileForLocalProcessing($image);
        // should
        $this->imagePath = $this->storage->getFileForLocalProcessing($image, false);
        $this->logger = $logger;
        $this->extensionConfiguration = GeneralUtility::makeInstance(ExtensionConfiguration::class)
            ->get('image_jack');
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions