[request] is supposed to be executed for both pages and files.
to tell when it's looking for an image, you can just check if the address ends with a jpg/gif/png
address is %url%
to check it we have {.match.}
so
{.if| {.match| *.jpg;*.gif;*.png | %url% .}
| hello, you are searching for an image
| anything else
.}
i didn't test it
to tell when it's looking for an image, you can just check if the address ends with a jpg/gif/png
address is %url%
to check it we have {.match.}
so
{.if| {.match| *.jpg;*.gif;*.png | %url% .}
| hello, you are searching for an image
| anything else
.}
i didn't test it