On Fri, 17 Dec 2021 at 18:59, Katharina Drexel <katharina.dre...@bfh.ch> wrote:
> I have configured the WP_CONTENT_DIR variable, in wp-config.php as well as > in > config-<hostname>.php. Nevertheless I can reproduce the problem: > Deleting symlink: no image preview > Adding symlink: image preview working That sounds like something else is the problem, possibly a plugin. Some plugins are badly written and don't use the functions to get the correct directory but assume a directory layout. I run an AppArmor profile over WordPress which doesn't allow it to write to anything under /usr. I'm not getting any hits on that so it's not even trying. The trick now is to work out why it's fine here, but not elsewhere. When you say preview, what exactly is that? Is it all the small images you see in the media library? Are the images uploaded into the /var directory but just not visible? That would point to an apache configuration problem. - Craig