Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnail URL missing base url when installed in subdirectory #67

Open
Mark-H opened this issue Feb 5, 2023 · 0 comments
Open

Thumbnail URL missing base url when installed in subdirectory #67

Mark-H opened this issue Feb 5, 2023 · 0 comments

Comments

@Mark-H
Copy link

Mark-H commented Feb 5, 2023

MediaManager source is configured as follows:

Scherm­afbeelding 2023-02-05 om 23 35 09

MODX is installed at https://development.local/3.x/, so inside the /3.x/ subdirectory.

That means files should be getting uploaded to 3.x/assets/mm/, which they are. So it's going fine up to this point.

However the media manager shows broken images in both the list and the image preview panel:

Scherm­afbeelding 2023-02-05 om 23 36 40

The browser dev tools shows 404s for URLs like https://development.local/assets/mm/2023/02/thumbs/c494530a66155f3951db1d0b01f6777f.jpg - so without the /3.x/ subdirectory. The actual file with that hash does exist in the expected location.

Interestingly, the link shown in the preview panel does seem to be correct, so this is purely an issue with the thumbnails from the looks of it.

@Mark-H Mark-H changed the title Thumbnail URL missing base url of subdirectory Thumbnail URL missing base url when installed in subdirectory Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant