# Thumbnail doesn't generated

**URL:** <https://community.sendbird.com/t/thumbnail-doesnt-generated/9198>\
**Category:** Flutter\
**Created:** [March 13, 2024, 7:08am UTC](https://community.sendbird.com/t/thumbnail-doesnt-generated/9198 "2024-03-13T07:08:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tommy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tommy/32/4390_2.png) [@Tommy](https://community.sendbird.com/u/Tommy)\
**Post date:** [March 13, 2024, 7:08am UTC](https://community.sendbird.com/t/thumbnail-doesnt-generated/9198/1 "2024-03-13T07:08:36Z")

</div>

The thumbnail is not being generated. Despite passing FileMessageCreateParams with thumbnailSizes as a parameter when calling chat.apiClient.send() method in sendFileMessage for debugging, the thumbnails in the response are returned as an empty array.

send file message with param with thumbnail size parameter

```auto
final params = FileMessageCreateParams.withFile(event.message)
        ..thumbnailSizes = [const Size(300, 300), const Size(50, 50)];

final result = state.channel?.sendFileMessage(
    params,
    handler: (FileMessage message, SendbirdException? e) async {
}

```

response of chat.apiClient.send\<(UploadResponse)\>() inside of sendFileMessage() method (maybe for file upload)

![스크린샷 2024-03-13 오후 4.05.28](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/f/f034e50e2f85d0180bf080543df7e0f368019bdd.png)
