# Thumbails and image file size

**URL:** <https://community.transloadit.com/t/thumbails-and-image-file-size/16275>\
**Category:** Uppy\
**Created:** [October 5, 2022, 9:02am UTC](https://community.transloadit.com/t/thumbails-and-image-file-size/16275 "2022-10-05T09:02:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![camel1cz](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/camel1cz/32/665_2.png) [@camel1cz](https://community.transloadit.com/u/camel1cz)\
**Post date:** [October 5, 2022, 9:02am UTC](https://community.transloadit.com/t/thumbails-and-image-file-size/16275/1 "2022-10-05T09:02:18Z")

</div>

I’m using Uppy 1.20.0 with great results, thank you!

One thing what bothers me is the file size shown in image preview.

In short, is there a way to specify the file size of the image displayed in the dashboard?

Full version: When I prefill Uppy with existing images, I want to download only thumbnails from the server. So I call addFile setting my own thumbnails as the displayed image like this:

```auto
fetch('/dsn/image/id/xxx.jpg/?size=1')
  .then((response) => response.blob()) // returns a Blob
  .then((blob) => {
    uppy.addFile({
      name: '<?= $fileName; ?>', // image name
      source: 'mysouce',
      type: blob.type,
      data: blob,
      remote: true,
      meta: {
        caption: '<?= $caption; ?>',
        fileid: '<?= $id(); ?>',
        origcaption: '<?= $description; ?>',
        origname: '<?= $orig_name; ?>',
        fileEditable: true,
      },
    });
});

```

Everything is fine but instead of the file size I want to see, there is shown filesize of the thumbnail - most likely from the size of the blob downloaded.

I would like to show custom size (original or other variant) of the image. Is this possible?
