![alain01](https://xoops.org/uploads/avatars/cavt5e1e5eed1294e.gif)
but it does not work.
<{if file_exists($chaine_surcharge)}>
<div class="d-inline"><img src="<{$chaine_surcharge}>" alt="<{$module.name}>"> <a href="<{$result.link}>"><{$result.title}>a>div>
<div class="d-none d-md-inline "><span class="fas fa-calendar fa-sm ml-2">span> <{$result.time}>div>
<br />
<{else}>
<img src="<{$result.image}>" alt="<{$module.name}>"> <a href="<{$result.link}>"><{$result.title}>a> (<{$result.time}>)<br />
<{/if}>
The condition is always false... but the file exists
If I delete the test, the image is overloaded.