> For the complete documentation index, see [llms.txt](https://guia.fenicio.help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guia.fenicio.help/developers/integracion-de-comercios/carga-de-imagenes.md).

# Carga de imágenes

En los casos de integración completa, las imágenes de los artículos se cargarán a través de conexiones SFTP.

En caso de integración parcial, las imágenes se podrán cargar directamente a través del panel de administración de Fenicio, o vía SFTP. Esta opción deberá comunicarse al equipo de Fenicio para que se realice la configuración correspondiente.

## Nomenclatura de las imágenes

Para la carga vía SFTP, las imágenes deben ser en formato JPG y el nombre de la extensión debe ser `.jpg` (en minúsculas).

{% hint style="info" %}
No usar formatos de imagen que no sean JPG.
{% endhint %}

Para comercios **con variantes** de producto activadas:

```
[CODIGO PRODUCTO]_[CODIGO VARIANTE]_[INDICE].jpg
```

Ejemplo: `XSF523_ROJO_1.jpg`

Para comercios **sin variantes** de producto activadas, se debe repetir el código de producto en lugar del código de variante:

```
[CODIGO PRODUCTO]_[CODIGO PRODUCTO]_[INDICE].jpg
```

Ejemplo: `XSF523_XSF523_1.jpg`

***

Donde `[CODIGO PRODUCTO]` es el código del producto base, `[CODIGO VARIANTE]` es el código de la variante, tal como son comunicadas a Fenicio en el servicio de Productos.

`[INDICE]` debe ser un número que indica el orden de la imagen entre todas las imágenes del mismo artículo. La imagen con índice 0 (cero), corresponderá a la imagen miniatura o muestra de color, que es utilizada para navegar entre variantes de un producto.

## Otras consideraciones

* Cada imagen no debe exceder **1Mb** de peso.
* Cada artículo no puede contener más que la cantidad de imágenes configurada para la tienda (5 por defecto, 10 como máximo). Si se cargan más imágenes, las excedentes serán ignoradas.
* Los nombres de las imágenes únicamente podrán contener caracteres alfanuméricos.
* Los números índices en la nomenclatura deben ser consecutivos y no salteados. Si no se encuentra su correlativo Fenicio dará por finalizada la importación de imágenes para ese articulo. Ejemplo erróneo: `XSF523_ROJO_1.jpg` , `XSF523_ROJO_2.jpg`, `XSF523_ROJO_5.jpg`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guia.fenicio.help/developers/integracion-de-comercios/carga-de-imagenes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
