croppa icon indicating copy to clipboard operation
croppa copied to clipboard

Placeholer if image not found and two different src directories

Open c4sti3l opened this issue 6 years ago • 0 comments

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.

c4sti3l avatar Mar 28 '18 01:03 c4sti3l