It is not possible to add featured images to a post or page if the /input/media/posts folder does not exist. After selecting a photo, the progress spinner will loop endlessly.
If a /input/media/posts folder does not exist, one should be created automatically by Publii. The empty /input/media/posts folder was likely not created when cloning the Publii project from a GitHub repository.
Steps to reproduce
In Windows Explorer, delete the /input/media/posts folder so that only /input/media exists.
In Publii, try adding a featured image to a post or page.
Progress spinner spins endlessly.
Steps to manually remediate
In Windows Explorer, create an empty /posts folder in /input/media
In Publii, try adding a featured image to a post or page
Featured image gets added
Relevant log output
No logs, but was able to identify problem and solution with steps created above.
Operating system
Windows 11
Publii version
0.46.2 (16968)
Post editor
None
Bug description
It is not possible to add featured images to a post or page if the
/input/media/posts
folder does not exist. After selecting a photo, the progress spinner will loop endlessly.If a
/input/media/posts
folder does not exist, one should be created automatically by Publii. The empty/input/media/posts
folder was likely not created when cloning the Publii project from a GitHub repository.Steps to reproduce
/input/media/posts
folder so that only/input/media
exists.Steps to manually remediate
/posts
folder in/input/media
Relevant log output