public static function imageArrayUpload($value, $applyFilter = false, $returnObject = false)
    {
        if (!empty($value) && is_array($value)) {
            $data = [];
    
            foreach ($value as $key => $item) {
                $image = static::imageUpload($item['imageId'], $applyFilter, true);
                if ($image) {
                    if ($item['caption']) {
                        $image->caption = $item['caption'];
                    }
    
                    $data[$key] = ($returnObject) ? $image : $image->toArray();
                }
            }
    
            return $data;
        }
    
        return [];
    }