Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Loading wrong mediasource on create page #13609
When creating a new resource in a context where a default media source is defined in the context settings different from the default media source system setting it loads the system setting, which results in not working images.
When updating the correct media source is loaded but image preview doesn't work anymore.
Step to reproduce
When adding image through tv the wrong media source is selected.
Load the correct media source from context setting in which the page is being created
Modx 2.5.6, nginx
The fault seems to be in the following file: core/model/modx/processors/element/tv/renders/mgr/input/image.class.php line 15,