Quote from: samg at Oct 03, 2016, 02:42 PMI found the Media Sources update sections but I couldn't use your settings, which were assets/images/. When I used those my image link became News Headlines Pics/bldg_phillipsburg_hs.jpg instead of assets/images/News Headlines Pics/bldg_phillipsburg_hs.jpg.
"assets/images/" was just an example - the setting I use -, although I guess it's the folder where your imags are located, too, so for images this should be fine. From what you wrote above, I guess your old setting was "assets/" (or "/assets/"?), which is okay, too, if it's what you need. If you'd like to use one media source for images, PDFs, etc., just stick with "assets/" (without leading slash). It's also possible to use different media sources and link the most appropriate source to the particular TV.
Make sure that basePath and baseUrl have the same value; basePathRelative and baseUrlRelative should both be set to "Yes". Also, check the system setting strip_image_paths, which should also be set to "Yes". To make sure, clear the cache.
Reload the page you're editing (in the Manager) if it's still opened. Now reassign the image in the TV. Is the path still wrong in the frontend? I remember having some problems with paths, too, but that's years ago - probably before media sources were introduced...
I tried this in a "naked"
MODX Cloud where no external components can interact with MODX - TinymceWrapper is the only package I installed. Maybe something causes problems in your installation. But I also have been using similar settings in productive sites for years. BTW: You're using the current version of MODX, aren't you?
Quote from: samg at Oct 03, 2016, 02:42 PMI tried different things but the one that worked was leaving the settings for path and path url both completely blank. That syntax added back in assets/images/ giving me assets/images/News Headlines Pics/bldg_phillipsburg_hs.jpg
1. Does this make sense to you?
Well, yes, somehow. The URL isn't completed on your system; it obviously uses the path without the folders given in the media source settings (I'm not sure if this can happen when basePathRelative or baseUrlRelative is set to "No" - I'm still short on time, so I can't test everything). Unfortunately I don't know why your installation reacts different regarding this...
Quote from: samg at Oct 03, 2016, 02:42 PM2. The only thing that's off right now Jan is that when I invoke the ModX Browser I'm positioned at the root of the site and have to click "assets" then "images" to reposition myself. Can anything be done about that so that I'm already in the "assets" folder?
Well, that's what the media source settings (and the media sources themselves for that matter) are for.
If you set the paths to the root (by leaving them blank), that's the way they work.
As I said above, if everything else fails, you can always change the paths in the HTML code. If you don't have too many TVs, that shouldn't cause much work.
Quote from: samg at Oct 03, 2016, 02:42 PM3. One more thing Jan. Can I assume that these changes I made only apply to TV image variables and that everything else will be business as usual? For example, if I link to a PDF file will that continue to work as before, even if I link to it in a TV?
What works for images, should also work for other files...
Cheers,
Jan