On Fri, 17 Dec 2021 at 02:57, Katharina Drexel <katharina.dre...@bfh.ch>
wrote:

> with the actual debian installation, wordpress shows no preview of uploaded
> images, neither in the media nor in the post.
> +       # Symlink needded, otherwise no image preview
> +       ln -s /var/lib/wordpress/wp-content/uploads
> /usr/share/wordpress/wp-content/uploads
>
This would be a bad idea, you are linking a read/write section with the
read-only section.
Files should be uploading to /var/lib/wordpress/wp-content/uploads
including the uploaded image.

I just tried one then, I have files in
/var/lib/wordpress/wp-content/uploads/2021/12

WordPress should be uploading them to ${WP_CONTENT_DIR}/uploads and
WP_CONTENT_DIR is set to /var/lib/wordpress/wp-content in
/etc/wordpress/config-default.php

 - Craig

Reply via email to