Hello,
I'm creating a custom PDF to send with my email, but the images are not visible in the PDF or in my email. You can view the PDF here: https://fixthefiredoorwe.care/frm_display/pdf-controle-view/entry/120/. Here, you can see the uploaded images.
The PDF is attached.
Here is the code I am using:
<img src="[63]" alt="Deur geblokkeerd" />
[69 show_image=1]
After an hour of searching and testing, I couldn't find a solution. Can someone help me?
Thanks in advance!
Kind regards,
Koen Vanraes
In my email the images are showing.
The images are als showing in the detail view.
https://fixthefiredoorwe.care/frm_display/pdf-controle-view/entry/135/
But the PDF (that I create with the detail view) is not showing images.
So 1 problem is gone. 1 to go....
Here's another tip from the Formidable Knowledgebase: https://formidableforms.com/knowledgebase/pdfs/#kb-missing-images
This works!! allow_url_fopen is now on.... and the images are visible!
It doesn't appear that you followed these directions: https://formidableforms.com/knowledgebase/create-a-view/#kb-create-a-detail-page-with-an-image
Also with this it is still not working.
I tried a very simple example. I created a form with a file upload field and in the notification action I replaced the default message with your two lines (changing the field id of course) and it worked as expected. One thing I suggest trying is to add just [69] to your notification. If that doesn't display a legitimate file path, then that will tell you what's wrong.
When I looked at the generated source code, it appears you may have a permissions problem on the server. This is what is being inserted as the image source: src="U heeft niet voldoende rechten om dit te doen". Translated from Dutch to English, this reads "You do not have sufficient rights to do this". This doesn't appear to be a problem with Formidable, but with your server directory permissions. I suggest you contact your host for assistance.
my direction of the upload has 755 as permissions. But the images them self are 200...
I believe the files should be 644. At least you found the problem. Before you contact your host, make sure you read this note about protecting files. If file protection is enabled, turn it off. https://formidableforms.com/knowledgebase/general-form-settings/#kb-protect-all-files-uploaded-in-this-form
<p>"Protect all files uploaded" in this form was selected, so now the images have 644 permissions. However, the images are still not shown in the email and PDF file. In the detail view, they are displayed correctly.</p>
According to the documentation, changing permissions is a going forward event. New images will be correct. Old images need to have their permissions changed manually.
Please login or Register to submit your answer