# \[SOLVED\] Ikiwiki image location?

**URL:** https://discuss.freedombox.org/t/solved-ikiwiki-image-location/837
**Category:** Uncategorized
**Created:** [April 26, 2020, 8:24am UTC](https://discuss.freedombox.org/t/solved-ikiwiki-image-location/837 "2020-04-26T08:24:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Cheynio](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/cheynio/32/66_2.png) [@Cheynio](https://discuss.freedombox.org/u/Cheynio)
#### Post date: [April 26, 2020, 8:24am UTC](https://discuss.freedombox.org/t/solved-ikiwiki-image-location/837/1 "2020-04-26T08:24:06Z")

</div>

Where I should put images for inserting into an ikiwiki via a simple [[link]]?

According to the setup file the directories are:

```
srcdir => "/var/lib/ikiwiki/$wikiname_short",
destdir => "/var/www/ikiwiki/$wikiname_short",
repository => "/var/lib/ikiwiki/$wikiname_short.git"

```

I tried putting a jpg into those folders but it didn’t show when I went [[image.jpg]].

---

<div class="post-metadata">

### Author: ![jvalleroy](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/jvalleroy/32/331_2.png) [@jvalleroy](https://discuss.freedombox.org/u/jvalleroy)
#### Post date: [April 26, 2020, 3:46pm UTC](https://discuss.freedombox.org/t/solved-ikiwiki-image-location/837/2 "2020-04-26T15:46:11Z")

</div>

You may want to enable the “attachment” plugin through the setup page. Then you can upload through the edit form. It will store the images in `/var/lib/ikiwiki/$wikiname_short`.

---

<div class="post-metadata">

### Author: ![Cheynio](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/cheynio/32/66_2.png) [@Cheynio](https://discuss.freedombox.org/u/Cheynio)
#### Post date: [April 26, 2020, 4:36pm UTC](https://discuss.freedombox.org/t/solved-ikiwiki-image-location/837/3 "2020-04-26T16:36:06Z")

</div>

That’s **far** easier than using WinSCP to upload the images to the blog and now users can add images and other attachments to the wiki. Thank you!
