Do you mean using instant web publishing?
In the case, you need to put images into "web" folder under installed FMPro folder, before insert it to container field as reference. (or don't use link = reference, embed it in database)
I'm not sure of PDF works with same way, there is no document on it. PDF is one of image format on OSX, but not on Windows.