croppa
croppa copied to clipboard
Placeholer if image not found and two different src directories
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.