A friend of mine had a similar bug in the current version (0.6.9). The image included via file tags did not show up in the final pdf (shown with a red-x-symbol) although the placeholder image was shown in the preview pdf.
It seems that this bug was not present in the version 0.6.8 as this version shows me the image in the final pdf (both show the placeholder in the preview pdf).
Since going back to the full 0.6.8 version triggers the “theres a newer version for this plugin” warning, I dug a bit deeper and it seems that the culprit is “\send-pdf-for-contact-form-7\classes\send-pdf.php”. This class is (beside other things) apparently responsible for doing the replacement magic from the layout file to the actual image data/path.
I replaced that file with its predecessor from 0.6.8 and voila it worked, the image was there and since the version of the plugin was not changed, it did not show the aforementioned warning!
Judging from a diff between the files it seems that the way the field names in the tags were found changed from a more or less simple explode call to a regex-based approach. I tried to simplify the regex for the sake of testing but it did not work out. But since replacing the whole file works, the problem must be in there somewhere :p
I hope this helps fixing the issue ??
-
This reply was modified 5 years, 9 months ago by timesink.
-
This reply was modified 5 years, 9 months ago by timesink.