Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
<add key="umbracoMediaPath" value="~/relocatemedia" />
Setting this variable to something other than media gets a NULL value in the cmsMedia table in the mediaPath column.
I'm able to add media but the thumbnails don't work properly. The pathing to the images also works but during the process of picking an image it treats the images as folder paths and blocks the selection.
I manually updated the cmsMedia table to the path pulled from dataNtext from cmsPropertyData and the thumbnails started working.
Am I missing something?
SET media.mediaPath = JSON_VALUE(convert(nvarchar(max),d.dataNtext),'$.src')
FROM cmsMedia media
JOIN cmsPropertyData d ON d.contentNodeId = nodeId AND d.dataNvarchar IS NULL
Running the above query fixes my issue but I'd rather not have to run that in every environment.
Did you solve this issue?
This issue has been resolved. I submitted a PR to get it fixed and it got included in the 7.15.3 release.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted