Skip to content

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

Description

@garygreen

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions