<div class="form-group mb-3">
    <label for="<?php echo e($input['id']); ?>" class="<?php echo e($input['required'] ?? ''); ?> form-label"><?php echo e($input['label']); ?></label>
    <div class="fileupload">
        <i class="fas fa-times-circle fs-4 me-2 text-danger cursor-pointer remove-img"></i>
        <img class="img-thumbnail rounded w-25" data-image-preview="true" src="<?php echo e($input['value'] == "" ? asset('images/no-image.png') : asset($input['value'])); ?>" />
        <?php if(!isset($input['readonly'])): ?>
        <span class="btn btn-file btn-primary">
            <i class="fas fa-upload"></i> تحميل صورة
            <input type="file" id="<?php echo e($input['id']); ?>" class="uploadImage" data-ajax="<?php echo e(route('upload.image')); ?>" data-defaultSize="<?php echo e($input['defaultSize']); ?>" data-width="<?php echo e($input['width']); ?>" data-height="<?php echo e($input['height']); ?>" data-fit="<?php echo e($input['fit']); ?>" data-folder="<?php echo e($input['folder']); ?>" />
        </span>
        <?php endif; ?>
        <div class="mt-1">
            <input type="hidden" class="form-control" data-image="true" name="<?php echo e($input['name']); ?>" value="<?php echo e($input['value']); ?>" readonly="">
        </div>
    </div>
</div>

<?php /**PATH /Users/haladigitally/Desktop/TR/operations_manager/resources/views/form/image.blade.php ENDPATH**/ ?>