# Load images dynamically

**URL:** <https://discourse.gohugo.io/t/load-images-dynamically/56870>\
**Category:** support\
**Created:** [March 17, 2026, 5:45am UTC](https://discourse.gohugo.io/t/load-images-dynamically/56870 "2026-03-17T05:45:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep\_Reddy](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sandeep_reddy/32/25745_2.png) [@Sandeep\_Reddy](https://discourse.gohugo.io/u/Sandeep_Reddy)\
**Post date:** [March 17, 2026, 5:45am UTC](https://discourse.gohugo.io/t/load-images-dynamically/56870/1 "2026-03-17T05:45:59Z")

</div>

Hi, my site has more images(hundreds) and YouTube video galleries, so can I keep all those images under assets folder with in Hugo code?

---

<div class="post-metadata">

**Author:** ![irkode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/irkode/32/26135_2.png) [@irkode](https://discourse.gohugo.io/u/irkode)\
**Post date:** [March 17, 2026, 1:40pm UTC](https://discourse.gohugo.io/t/load-images-dynamically/56870/2 "2026-03-17T13:40:12Z")

</div>

it depends

helpful resource: [Where to place image files when using the Markdown content format](https://discourse.gohugo.io/t/where-to-place-image-files-when-using-the-markdown-content-format/55087)

if your site generation is slow or you reach size limits you might want to prerender and/or offload them.
