{{template.theme_dir}} works correctly when Fred is enabled in edit mode, and the correct URI is displayed when Fred is disabled.
However, when Fred is enabled and you go into preview mode (the eye icon), the placeholder does not render correctly and thus images using it don't show.
Looking at the inspector, it shows it is rendered as: [[++fred.theme.blog.theme_dir]]
(My theme dir in this case is "blog")
So the raw MODX tag is coming through when in preview mode.
{{template.theme_dir}} works correctly when Fred is enabled in edit mode, and the correct URI is displayed when Fred is disabled.
However, when Fred is enabled and you go into preview mode (the eye icon), the placeholder does not render correctly and thus images using it don't show.
Looking at the inspector, it shows it is rendered as: [[++fred.theme.blog.theme_dir]] (My theme dir in this case is "blog")
So the raw MODX tag is coming through when in preview mode.