Upload, Resize and Save images with Intervention Image v3 in Laravel Storage. Test UploadedFile::fake() with real image file.
<form action="/upload/avatar" method="post" enctype="multipart/form-data">
@csrf
<label>Image</label>| import type { Attribute, Common, Utils } from '@strapi/types'; | |
| type IDProperty = { id: number }; | |
| type InvalidKeys<TSchemaUID extends Common.UID.Schema> = Utils.Object.KeysBy< | |
| Attribute.GetAll<TSchemaUID>, | |
| Attribute.Private | Attribute.Password | |
| >; | |
| export type GetValues<TSchemaUID extends Common.UID.Schema> = { |