Hey folks,
I have a working livewire component that permits uploding photos with the following validation rule:
'logo' => 'image|mimes:jpeg,png,jpg,gif,svg|
dimensions:min_width=100,min_height=100,max_width=1500,max_height=1500'
Everything worked until I set my 'temporary_file_upload' disk to an s3 bucket. The file does get uploaded but the validation at the front-end always yells at the image having faulty dimensions (regardless of the actual image size).
When that config variable is set back to null - it all works. The issue infact only persist if the 'temporary_file_upload' disk is s3. The 'standard' uploading to s3 with the the temp file being side-loaded locally works just fine.
And even with temp uploading to s3, it still works entirely as expected if I ditch the dimensions part from my validation.
If anyone has a clue on the matter - help appreciated. For the time being I am developing locally on a Windows machine (which could be an issue?).