# Problem with thumb creation in media-folder

**URL:** <https://forum.getkirby.com/t/problem-with-thumb-creation-in-media-folder/16820>\
**Category:** Questions\
**Tags:** v3\
**Created:** [January 9, 2020, 11:11am UTC](https://forum.getkirby.com/t/problem-with-thumb-creation-in-media-folder/16820 "2020-01-09T11:11:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![9zehn81](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/9zehn81/32/735_2.png) [@9zehn81](https://forum.getkirby.com/u/9zehn81)\
**Post date:** [January 9, 2020, 11:11am UTC](https://forum.getkirby.com/t/problem-with-thumb-creation-in-media-folder/16820/1 "2020-01-09T11:11:23Z")

</div>

Hi,

i’ve got a problem i never had before with a kirby page on a live server (PHP: 7.3):

All images that are uploaded via the panel get the wrong access rights (not readable), so they appear in the files section of the page, but without thumb and calling them via media-url ends in a “no-access” error.

As soon as i change the access rights of the file via ftp it works all fine.

Does anybody have a hint for me what the problem might be?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [January 9, 2020, 11:43am UTC](https://forum.getkirby.com/t/problem-with-thumb-creation-in-media-folder/16820/2 "2020-01-09T11:43:58Z")

</div>

Sounds like a job for the hosting provider. What happens if you delete the media folder entirely on the server? Kirby should recreate it if the permissions for the hosting are correct. i suspect the permissions on the media folder itself (and possibly the subfolders too) are wrong.

My usual trick on servers that i cant SSH into is to zip the site up and use the file manager in the hosting control panel to upload it and then unpack it into the web root. That way, the files get written with all the correct settings. That doesnt always happen via FTP.

---

<div class="post-metadata">

**Author:** ![9zehn81](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/9zehn81/32/735_2.png) [@9zehn81](https://forum.getkirby.com/u/9zehn81)\
**Post date:** [January 9, 2020, 12:00pm UTC](https://forum.getkirby.com/t/problem-with-thumb-creation-in-media-folder/16820/3 "2020-01-09T12:00:08Z")

</div>

after deleting the entire media folder and refreshing the site, the media folder is recreated, but its empty (the media-folder has no write-access.

i already contacted the provider. They blamed “this tiny unknown cms system” 😠

I’ll give your trick a try! Thanks for that 🙂

---

<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:** [January 9, 2020, 12:05pm UTC](https://forum.getkirby.com/t/problem-with-thumb-creation-in-media-folder/16820/5 "2020-01-09T12:05:05Z")

</div>

> [@9zehn81](#):
>
> They blamed “this tiny unknown cms system”

That sounds like a good reason to choose another provider!

---

<div class="post-metadata">

**Author:** ![9zehn81](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/9zehn81/32/735_2.png) [@9zehn81](https://forum.getkirby.com/u/9zehn81)\
**Post date:** [January 9, 2020, 12:21pm UTC](https://forum.getkirby.com/t/problem-with-thumb-creation-in-media-folder/16820/6 "2020-01-09T12:21:31Z")

</div>

it is, but its the site of a customer that is not willing to change 😕

By the way: there was a kirby2 site on the same server before which worked fine.

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [January 9, 2020, 12:46pm UTC](https://forum.getkirby.com/t/problem-with-thumb-creation-in-media-folder/16820/7 "2020-01-09T12:46:08Z")

</div>

Maybe its a problem with the php temp folder. You said in your first post that it happened after 7.3 was used. Maybe it has been mis configured. Are you able to to switch to PHP 7.2 and see if it persists? Then atleast you can tell the hosting provider to look into it.
