Title: Image preview
Last modified: February 13, 2023

---

# Image preview

 *  [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/)
 * Is tehre any way to preview generated PDF as Image or share it as image in social
   media?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [E2Pdf](https://wordpress.org/support/users/oleksandrz/)
 * (@oleksandrz)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16465959)
 * Hi,
    1. E2Pdf can convert PDF to images by adding attribute format=”jpg”, for example:
 *     ```wp-block-code
       [e2pdf-download id="1" format="jpg"]
       ```
   
 *     ```wp-block-code
       [e2pdf-view id="1" format="jpg"]
       ```
   
 * Or setting default output as “jpg”: [https://prnt.sc/szsVE8RsLz5e](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:
 *     ```wp-block-code
       [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](https://formidableforms.com/knowledgebase/create-a-view/#kb-show-entry-after-form-submission)
 * We remain at your service.
    -  This reply was modified 3 years, 3 months ago by [E2Pdf](https://wordpress.org/support/users/oleksandrz/).
 *  Thread Starter [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16465983)
 * Thank you for your reply 🙂 If media can be viewed as jpg, possibly can share
   it by custom js. Is that right? 🙂
 *  Plugin Author [E2Pdf](https://wordpress.org/support/users/oleksandrz/)
 * (@oleksandrz)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16466010)
 * 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.
 *  Thread Starter [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16466018)
 * Sure, but can it be saved to server dir and then shared? By custom js or any 
   other method?
 *  Plugin Author [E2Pdf](https://wordpress.org/support/users/oleksandrz/)
 * (@oleksandrz)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16466035)
 * 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.
 *  Thread Starter [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16466053)
 * Thanks a lot 🙂
 *  Thread Starter [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16468413)
 * Hi, one more question – is view shortcode working before sending form? Need to
   show preview before sending, in second step of multistep form
 *  Plugin Author [E2Pdf](https://wordpress.org/support/users/oleksandrz/)
 * (@oleksandrz)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16468414)
 * Hi,
 * Unfortunately, no. E2Pdf requires an entry to be created to generate PDF.
 * We remain at your service.
 *  Thread Starter [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16468573)
 * 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?
 *  Plugin Author [E2Pdf](https://wordpress.org/support/users/oleksandrz/)
 * (@oleksandrz)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16468631)
 * 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](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/](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:
 *     ```wp-block-code
       [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.
 *  Thread Starter [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16469805)
 * It’s one page project 🙁
 *  Thread Starter [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16495473)
 * 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?
 *  Plugin Author [E2Pdf](https://wordpress.org/support/users/oleksandrz/)
 * (@oleksandrz)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16495511)
 * 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](https://formidableforms.com/knowledgebase/create-a-view/#kb-show-entry-after-form-submission)
 *  Thread Starter [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16495858)
 * Thank you 🙂 Your support is great, today/tomorrow we’ll buy pro license for 
   your plugin, Thanks again 🙂

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Image preview’ is closed to new replies.

 * ![](https://ps.w.org/e2pdf/assets/icon-256x256.gif?rev=3491921)
 * [E2Pdf - Export Pdf Tool for WordPress](https://wordpress.org/plugins/e2pdf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/e2pdf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/e2pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/e2pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/e2pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/e2pdf/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [2Beards Design](https://wordpress.org/support/users/2beards/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/image-preview-5/#post-16495858)
 * Status: not resolved