# Upload images when creating content from a spreadsheet

**URL:** <https://forum.getkirby.com/t/upload-images-when-creating-content-from-a-spreadsheet/34181>\
**Category:** Questions\
**Tags:** v4\
**Created:** [June 2, 2025, 10:41pm UTC](https://forum.getkirby.com/t/upload-images-when-creating-content-from-a-spreadsheet/34181 "2025-06-02T22:41:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiahr](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/kiahr/32/7169_2.png) [@kiahr](https://forum.getkirby.com/u/kiahr)\
**Post date:** [June 2, 2025, 10:41pm UTC](https://forum.getkirby.com/t/upload-images-when-creating-content-from-a-spreadsheet/34181/1 "2025-06-02T22:41:12Z")

</div>

Hello, I have a question.

I am creating some real content pages from a .csv file. Locally, I have a jpg image for each page that the .csv file creates.

Is there a way to upload these images automatically when the .csv creates the page folders? Each row can have the path to the local image.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 3, 2025, 11:44am UTC](https://forum.getkirby.com/t/upload-images-when-creating-content-from-a-spreadsheet/34181/2 "2025-06-03T11:44:10Z")

</div>

Well, you don’t really need to “upload” anything in this case. If the files exist somewhere locally, you can use `F::move()` to move a file from and old root path to a new root path.

> **[F::move()](https://getkirby.com/docs/reference/objects/filesystem/f/move)**
>
> Moves a file to a new location

---

<div class="post-metadata">

**Author:** ![kiahr](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/kiahr/32/7169_2.png) [@kiahr](https://forum.getkirby.com/u/kiahr)\
**Post date:** [June 5, 2025, 3:37pm UTC](https://forum.getkirby.com/t/upload-images-when-creating-content-from-a-spreadsheet/34181/3 "2025-06-05T15:37:35Z")

</div>

Thanks, I’ll give it a try.

Am I able to define the template the file will be assigned? Or will it be the default template?
