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

Placeholer if image not found and two different src directories #165

Open
c4sti3l opened this issue Mar 28, 2018 · 0 comments
Open

Placeholer if image not found and two different src directories #165

c4sti3l opened this issue Mar 28, 2018 · 0 comments

Comments

@c4sti3l
Copy link

c4sti3l commented Mar 28, 2018

Is it possible to set a placeholder, if the image is not found?

My configuration works:
'src_dir' => storage_path().'/uploads',
'crops_dir' => storage_path().'/uploads/thumbs',
'path' => 'uploads/(?:thumbs/)?(.*)$',

But if I want to switch my config to something like:
'src_dir' => storage_path().'/images/uploads',
'crops_dir' => storage_path().'/uploads/thumbs',
'path' => '^uploads/(?:thumbs/)?(.*)$',

Then I don't find any image.

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