Describe the problem/error/question
When using the Telegram trigger, enabling Download Images/Files, and setting Image Size to Extra Large results in downloading the smallest (~90x90 pixels) image size in case the largest size isn’t provided by Telegram.
This can happen when an image is shared that is smaller in resolution than the selected image size.
To Reproduce
-
Create a Telegram trigger node
-
Add & enable Download Images/Files
-
Add & set Image Size to Extra Large
-
Share an 500x500 image on Telegram with the trigger chat
-
Observe that the Telegram trigger node outputs the 90x90 resolution variant
If the node is configured to output the biggest image size, it shouldn’t output the smallest image size instead.
Also reported as a bug at Telegram trigger downloads the lowest image size if the selected size isn't available · Issue #18625 · n8n-io/n8n · GitHub , but got flagged as a feature or enhancement request.
Since it’s not quite a request for a new feature, I’m posting it here instead of in the feature request category.
Of course, this can be worked around by disabling Download Images/Files and handling it manually.
What is the error message (if any)?
There’s no error message in this case.
Please share your workflow
Share the output returned by the last node
(personal details removed)
[
{
"update_id": 123,
"message": {
"message_id": 123,
"from": {
"id": 123,
"is_bot": false,
"first_name": "XX",
"username": "XX",
"language_code": "en"
},
"chat": {
"id": 123,
"first_name": "XX",
"username": "XX",
"type": "private"
},
"date": 1755765887,
"photo": [
{
"file_id": "XX",
"file_unique_id": "XX",
"file_size": 337,
"width": 90,
"height": 90
},
{
"file_id": "XX",
"file_unique_id": "XX",
"file_size": 884,
"width": 320,
"height": 320
},
{
"file_id": "XX",
"file_unique_id": "XX",
"file_size": 1102,
"width": 500,
"height": 500
}
]
}
}
]
Information on your n8n setup
- n8n version: 1.107.2
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): main
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 24.04