Reported by tomc22285 via IRC:
I have a layout as follows; TopicA contains %INCLUDE{"TopicB"}%. TopicB does a formatted search, %SEARCH{... format="$text" ...}% which searches other topics including TopicC. This normally works as expected but if TopicC contains an embedded graphical attachment the graphical attachement does not render in the formatted search. When accessed directly TopicC's graphic renders fine. The problem is the formatted search
Fix: In
TWiki.TWikiPreferences, use
%PUBURLPATH%/%WEB%/%TOPIC%/$name
instead of
%ATTACHURLPATH%/$name
in ATTACHEDFILELINKFORMAT and ATTACHEDIMAGEFORMAT settings.
--
TWiki:Main/PeterThoeny
- 2012-07-14