Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow image to not exist, if cached version available (configuration of dependencies?) #175

Open
garygreen opened this issue Aug 5, 2021 · 0 comments

Comments

@garygreen
Copy link
Contributor

Presently if the source image does not exist it will generate an error/placeholder image.

This is due to the requirement of younger-than' => $this->getDependencies()

Image/Image.php

Line 502 in f3dbe19

'younger-than' => $this->getDependencies(),

However, if there is a cached version of the image exists for the operations you are trying to perform then it would be awesome if it could just return that.

Main motivation behind wanting this feature is because we want to delete our source images - but keep cached versions. As gregwar is the one that calculates the hash of the cached file - it makes sense to have it built in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant