Image preview
-
Is tehre any way to preview generated PDF as Image or share it as image in social media?
-
Hi,
- E2Pdf can convert PDF to images by adding attribute format=”jpg”, for example:
[e2pdf-download id="1" format="jpg"]
[e2pdf-view id="1" format="jpg"]
Or setting default output as “jpg”: https://prnt.sc/szsVE8RsLz5e
2. Unfortunately there is no default possible to share “image” directly to social media. However, if you are using Formidable Forms PRO, you can create Formidable Forms View, put there “social media” button, and output the image inside View as:
[e2pdf-view id="1" dataset="[id]" format="jpg"]
Setting up redirect and View: https://formidableforms.com/knowledgebase/create-a-view/#kb-show-entry-after-form-submission
We remain at your service.
- This reply was modified 1 year, 9 months ago by Oleksandr.
Thank you for your reply ?? If media can be viewed as jpg, possibly can share it by custom js. Is that right? ??
Most social media doesn’t allow dynamic “images” to share and require images to be uploaded. E2Pdf currently can output just dynamically generated URLs and not a “static” path to the saved “image” (for example via “e2pdf-save” shortcode). This functionality is on review and in our TODO list.
Sure, but can it be saved to server dir and then shared? By custom js or any other method?
Image can be saved but there is no default way to output the URL to the “static” image at this moment. We will try to speed up the reviewing and implementation of this functionality and will note you as soon as it will any update.
Thanks a lot ??
Hi, one more question – is view shortcode working before sending form? Need to show preview before sending, in second step of multistep form
Hi,
Unfortunately, no. E2Pdf requires an entry to be created to generate PDF.
We remain at your service.
Thanks for your reply. So many questions, because need to resolve things before buying PRO licenses. I may be wrong, but this could be done by duplicating forms. First form is send and shows jpg preview. Second has hidden fields same as first one. They are filled by script getting changes from the first form fields. Only email field is showing up. Sending second form sends same PDF’s which were choosen in the first form (script setting same checkboxes/radios) Am I correct or my way of thinking is wrong?
There are 2 easier ways to accomplish the task if you need the user to confirm PDF before sending it to mail, with Formidable Forms Views.
You can redirect user to page that will contain “View”, filtered by Entry Key, that will contain PDF:
https://formidableforms.com/knowledgebase/create-a-view/#kb-show-entry-after-form-submission
Inside the “View” it can be:
- Editable form functionality: https://formidableforms.com/knowledgebase/set-up-front-end-editing/, which will output just the “mail” field and the form will contain “action” with E2Pdf shortcodes to fire on the “Update”.
or
- It will be another form, but it will contain a “hidden” field, which will have a default value set to the Entry Key (from the URL) of the 1st Entry. In this case, the shortcode inside 2nd form can look like this:
[e2pdf-download id="1" dataset="[123]"]
* where [123] – is the “Hidden” Field ID that contains the Entry Key for the 1st Entry. So in this case you do not need to create multiple templates and fully duplicate the form.
It’s one page project ??
I’m back here to ask one question. Using this shortcode:
[e2pdf-view id=”1″ dataset=”[id]” format=”jpg”]
I’m able to show saved images, but it’s showing all of them. How to make sure it’s only jpg from the submited entry?
Hi,
If you mean that it’s showing “images” for all submitted entries, you need to filter the “View” to output only “single” entry, for example, prepare a URL with the Entry Key in the URL and Filter “View” by GET parameter:
https://formidableforms.com/knowledgebase/create-a-view/#kb-show-entry-after-form-submission
Thank you ?? Your support is great, today/tomorrow we’ll buy pro license for your plugin, Thanks again ??
- The topic ‘Image preview’ is closed to new replies.