> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/technique/configuration-daffichage-du-site-php/definir-des-tailles-pour-les-apercus-images-et-apercus-images-dans-les-listes.md).

# Définir des tailles pour les aperçus images et aperçus images dans les listes

Il est possible de ne plus utiliser, pour les aperçus images en mode fiche ainsi que en mode liste, la taille d'aperçu par défaut mais d'en définir une personnalisé.

Pour cela :

&#x20;

Pour les aperçus "classiques" (dans fiche) :

&#x20;

Dans le fichier de configuration d'affichage : (config\_display.inc.ini.php)

Saisir la taille voulue dans les paramètres "LIST\_WIDTH" et "LIST\_HEIGHT". La taille doit être précisée en pixels sans en préciser l'unité.

Ex : pour avoir une image de 120 pixels \* 120 pixels :

LIST\_WIDTH="120"

LIST\_HEIGHT="120"

&#x20;

Pour les aperçus "classique" (dans fiche) :

&#x20;

Dans le fichier de configuration d'affichage : (config\_display.inc.ini.php)

Saisir la taille voulue dans les paramètres "IMG\_PREVIEW\_WIDTH" et "IMG\_PREVIEW\_HEIGHT". La taille doit être précisée en pixels sans en préciser l'unité.

Ex : pour avoir une image de 120 pixels \* 120 pixels :

IMG\_PREVIEW\_WIDTH="120"

IMG\_PREVIEW\_HEIGHT="120"

<figure><img src="https://1324884545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBJ3Kpe0vg6NlDz0QDIX%2Fuploads%2FWJYtHU1ppsiIMm4LMaR2%2Fimage.png?alt=media&amp;token=c8810d52-a8b9-47bd-9b89-9cd816539f7c" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Attention : Ce réglage est à utiliser avec précaution, car il pourrait amener la présence de barre de défilement (scroll bar), ou rendre l'affichage peu agréable, dans certain cas.
{% endhint %}


---

# 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://doc.simax.fr/technique/configuration-daffichage-du-site-php/definir-des-tailles-pour-les-apercus-images-et-apercus-images-dans-les-listes.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.
