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

Input TV should show the relative path, not the full path #12

Open
joeke opened this issue Dec 24, 2020 · 0 comments
Open

Input TV should show the relative path, not the full path #12

joeke opened this issue Dec 24, 2020 · 0 comments

Comments

@joeke
Copy link
Contributor

joeke commented Dec 24, 2020

When working with for example a CDN mediasource, which has a baseUrl or url set to the external CDN url, that url is also shown in the ImageCropper input TV. It should however show the relative path, and only use the url from the mediasource for showing thumbnails etc. This would also mean that when outputting on frontend, the correct url should be used, the same as with outputting core modx image TVs (see the renderOutput and prepareOutput methods in modTemplateVar class).

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