Files Tree images broken when media source above doc root #13292

Open
labr1005 opened this Issue Feb 14, 2017 · 0 comments

Projects

None yet

2 participants

@labr1005
Contributor

Summary

When using media sources that sit above the doc root:

  • the preview images, when hovering over the filename in the Files Tree, are broken.
  • the preview images in the MODX browser incl. zoom are rendered.

bildschirmfoto-2017-02-14-um-18 36

Step to reproduce

System setting phpthumb_allow_src_above_docroot Yes.

Create a media source above the doc root with

  • an absolute basePath and basePathRelative No.
  • an absolute baseUrl and baseUrlRelative No.

Observed behavior

The preview images, when hovering over the filename in the Files Tree, are broken.

Expected behavior

The preview images, when hovering over the filename in the Files Tree, should be rendered.

Environment

MODX 2.5.5
Apache 2.2.29
PHP 7.0.8

@labr1005 labr1005 added a commit to labr1005/revolution that referenced this issue Feb 15, 2017
@labr1005 labr1005 fix for modxcms/revolution#13292 b82c4a4
@labr1005 labr1005 added a commit to labr1005/revolution that referenced this issue Feb 15, 2017
@labr1005 labr1005 added missing modauth for modxcms/revolution#13292 ab3f1fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment