@extends('layouts.app') @section('content')
Edit Image for: {{ $product->name }}

Current Image
Current Image

Filename: {{ $image->image }}

Uploaded: {{ $image->created_at->format('M d, Y') }}

Current Thumbnail
Current Thumbnail

Filename: {{ $image->thumbnail_image }}

Generated automatically

Note: This will replace the current image and its thumbnail. The old files will be deleted.
@csrf @method('PUT')
@error('image')
{{ $message }}
@enderror
Allowed formats: JPEG, PNG, JPG, GIF, WEBP. Max 5MB.
Cancel
Image Information

Product:

{{ $product->name }}

Model:

{{ $product->model ?? 'N/A' }}

Image ID:

#{{ $image->id }}

Created:

{{ $image->created_at->format('M d, Y H:i A') }}

Updated:

{{ $image->updated_at->format('M d, Y H:i A') }}

Total Images:

{{ $product->images->count() }} images

@section('scripts') @endsection @endsection