# How to access Large Media Files

**URL:** <https://answers.netlify.com/t/how-to-access-large-media-files/51588>\
**Category:** Support\
**Tags:** netlify-large-media-nlm\
**Created:** [February 7, 2022, 6:12pm UTC](https://answers.netlify.com/t/how-to-access-large-media-files/51588 "2022-02-07T18:12:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![greatrat00](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/greatrat00/32/33911_2.png) [@greatrat00](https://answers.netlify.com/u/greatrat00)\
**Post date:** [February 7, 2022, 6:12pm UTC](https://answers.netlify.com/t/how-to-access-large-media-files/51588/1 "2022-02-07T18:12:30Z")

</div>

Hi,

Just set up netlify lfs. How do I link to my files on my site? I link to them normally as if they were still in a local site folder in usual format (even though they’ve been transformed to a pointer)?

How does the site know to fetch the file in the remote repository?

---

<div class="post-metadata">

**Author:** ![greatrat00](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/greatrat00/32/33911_2.png) [@greatrat00](https://answers.netlify.com/u/greatrat00)\
**Post date:** [February 7, 2022, 6:15pm UTC](https://answers.netlify.com/t/how-to-access-large-media-files/51588/2 "2022-02-07T18:15:54Z")

</div>

btw, does it make sense to use lfs for hundred of millions of relatively small images? Or just for very large files?

If I have hundreds of milliones of 100kB images (for example), should I just treat them normally without LFS and just statically build them into the site?

---

<div class="post-metadata">

**Author:** ![greatrat00](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/greatrat00/32/33911_2.png) [@greatrat00](https://answers.netlify.com/u/greatrat00)\
**Post date:** [February 8, 2022, 1:35pm UTC](https://answers.netlify.com/t/how-to-access-large-media-files/51588/3 "2022-02-08T13:35:08Z")

</div>

Hi, any help?

Thanks!

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [February 10, 2022, 1:07pm UTC](https://answers.netlify.com/t/how-to-access-large-media-files/51588/4 "2022-02-10T13:07:26Z")

</div>

Hey @greatrat00,

You have to link to the file normally like:

`/image/foo.jpg` provided that’s the path you’ve uploaded to Large Media.

> [@greatrat00](#):
>
> How does the site know to fetch the file in the remote repository?

We map the file internally and fetch the file from Netlify LFS and serve it.

> [@greatrat00](#):
>
> does it make sense to use lfs for hundred of millions of relatively small images

Yeah you can use it for that purpose, but I’m not seeing the point of using Large Media to store small files. Netlify Large Media has a significant number of limitations, so using it for small files is something I would personally not do.

---

<div class="post-metadata">

**Author:** ![greatrat00](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/greatrat00/32/33911_2.png) [@greatrat00](https://answers.netlify.com/u/greatrat00)\
**Post date:** [February 10, 2022, 7:58pm UTC](https://answers.netlify.com/t/how-to-access-large-media-files/51588/5 "2022-02-10T19:58:03Z")

</div>

thanks. in that case, what is the storage limit for millions of images on netlify (non-lfs)?

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [February 10, 2022, 8:01pm UTC](https://answers.netlify.com/t/how-to-access-large-media-files/51588/6 "2022-02-10T20:01:36Z")

</div>

Netlify doesn’t have any hard limits on total file sizes. But from what I know, GitHub allows only 2 GB per repo and GitLab 10 GB. So you might be limited by that.
