The issue that I faced is that I don't know how to save the same images (with same name as above) in another folder (thumbnail folder) in another size. For instance, width 200px.
@tykus I used intervention as below and it doesn't work. Meanwhile, I don't know how to save the original file as well with the same name as the thumbnail:
error:
Intervention\Image\Exception\NotWritableException
Can't write image data to path (thumbnails/2022-02-01 00:30:48.png)
Where is thumbnails relative to your project root directory? You can use public_path or storage_path helper methods to generate the correct path, e.g.: