Making 2 version of uploaded image
What looked like a simple task become 2 day headache.
I have a form, and one field for upload the image.
When I hit submit I want to make two image from it. One would be resized (and this posed no problems) and second one which would be a thumb of the either uploaded image or resized.
Tried to make it work doing some experiments, then I tried to google the solution, then Claude... One solution suggested using Intervention/Image, other Spatie media library, and all were so cumbersome, that I find it ridiculous.
Any suggestions on how to resolve this, since documentation is so limited with examples of commands/arguments?
I have a form, and one field for upload the image.
When I hit submit I want to make two image from it. One would be resized (and this posed no problems) and second one which would be a thumb of the either uploaded image or resized.
Tried to make it work doing some experiments, then I tried to google the solution, then Claude... One solution suggested using Intervention/Image, other Spatie media library, and all were so cumbersome, that I find it ridiculous.
Any suggestions on how to resolve this, since documentation is so limited with examples of commands/arguments?