# Campo Foto (deprecado)

### Tipo de widget

En el esquema se representa como

> "widget\_type": "IMAGE\_FIELD"

{% hint style="danger" %}
Este widget ha sido DEPRECADO desde Noviembre 2022. Si bien todos los formularios que lo utilicen seguirán funcionando, recomendamos utilizar el nuevo widget [Campo Fotos](/modulos/formularios-digitales/tipos-de-widgets/campo-fotos.md)
{% endhint %}

### Lectura

A la hora de leer este tipo de widget, podemos obtener dos tipo de valores.

1. El string "THERE\_IS\_IMAGE" indicando de esta forma que el formulario contiene una imágen cargada.
2. null indicando que no se ha sacado foto en este formulario

```json
{
    ...
    "FW9ilaip": "THERE_IS_IMAGE",
    ...
}
```

```json
{
    ...
    "FW9ilaip": null,
    ...
}
```

{% hint style="warning" %}
Por el momento no es posible obtener las imágenes de los formularios a través de la API
{% endhint %}

### Escritura

Cuando insertamos o modificamos un formulario, en el field correspondiente a este widget, únicamente podemos enviar null.

```json
{
    ...
    "FW9ilaip": null,
    ...
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.api.persat.com.ar/modulos/formularios-digitales/tipos-de-widgets/campo-foto-deprecado.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
