I'm using input capture to save photos from my Laravel app but when I view them in a preview they are squashed at the poles, does anyone know how to set the px height and width for saving the photo? A thousand thanks
$img = $request->validate([
'image' => 'required|image|mimes:jpg,jpeg,png,bmp,gif,svg,webp|max:8000'
]);
$imageName = time() . '.' . $request->image->getClientOriginalExtension();
$request->image->move(public_path('images/images'), $imageName);
@foreach ($result as $item)
<div class="dettaglio-pdca-dettaglio">
<div class="dettaglio-pdca-maskgroup">
<img src="/images/images/{{ $item->photo }}" alt="Foto Ticket"
class="dettaglio-pdca-unsplash-jw-mgy1h-js-y zoom" />
</div>
</div>
@endforeach