• Resolved devsunny

    (@devsunny)


    Hi,
    im using E2PDF Plugin To print registered user data on pdf.. im using UmUser meta for that but the problem is with the images.. E2PDF can not load the image as it is in the Directory.. when i researched about this issue i found image must have full Url Like (mysite/wp-content/uploads/2021/02/jdhdfa.png) Like that it is possible if the image saved in the media library.. so please help me to save the user Uploaded images on registration form directly in the media library..

    This is the reply i got from UM Team

    Hi @devsunny

    Unfortunately, this requires customization on your end. Could you please ask the E2PDF developer to provide a filter hook to modify the image URL? If they have the filter hook, you can append UM images.

    when i tried to print Um registration form uploaded image its not printing except the image. all fields are printing on pdf perfectly….

    Please help me to fix this If this is Corrected we need to have atleast of 25 templates for that site.. client really ready to make purchase pro version of E2PDF once i fix this issue.. please help to make it possible Thanks in advance.

    • This topic was modified 3 years, 9 months ago by devsunny.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Oleksandr

    (@oleksandrz)

    Hi,

    Can you please create “textarea” field inside E2Pdf Template with mapped “meta” key and check which output you will get? If you get “image” name, then you just must be able to combine “meta” key with URL like:

    https://example.com/folder/[e2pdf-wp key="key" meta="true"]

    or full absolute path (if directory located under WordPress root directory):

    /home/web/user/example.com/folder/[e2pdf-wp key="key" meta="true"]

    P.S. If it still will not work (for example images “dir” not under wordpress installation) then it must be possible to use custom filter, however to build it correctly we need to know output of “meta” value and its “key”.

    We remain at your service.

    Thread Starter devsunny

    (@devsunny)

    Hi,
    thanks for the quick Reply when i use meta key with text area it is showing an Url of the Image..

    and added like this.. https://mysite.com/import_media/ultimatemember/%5Be2pdf-user key=”Passport” meta=”true”]

    But its not working.. but when i open the Url of particular image with this path its showing the image..

    from Db table for the particular upload
    This is the meta_key : Passport
    This is the meta_value: stream_photo_a7610d11_2017d1a6576ce8dd7d80b306eb6efa02e7d08558.png

    and one thing i have to tell you its creating folders dynamically with respect to user.. in the url 3 is User id as well as folder name Ex(https://mysite.com/import_media/ultimatemember/3/stream_photo_a7610d11_2017d1a6576ce8dd7d80b306eb6efa02e7d08558.png)

    with repect to the user all fields mapped in this way and they[e2pdf-user key=”first_name”] are printing… only image is not working in my case.

    Please help me to fix the issue im struggling with this issue since 1 week.. Please explain where to add filter and how to map that Thank you so much.

    • This reply was modified 3 years, 9 months ago by devsunny.
    • This reply was modified 3 years, 9 months ago by devsunny.
    • This reply was modified 3 years, 9 months ago by devsunny.
    Plugin Author Oleksandr

    (@oleksandrz)

    It’s a bit unclear if “URL” generated with “User ID” or not when you use combined value.
    Can you please clarify:
    – Which “value” exactly rendered by this shortcode: [e2pdf-user key="Passport" meta="true"]?
    – Do you use E2Pdf “Image” object to output image?

    Can you try please to modify value to if you are using “Image” object:
    https://mysite.com/import_media/ultimatemember/[e2pdf-user key="ID"]/[e2pdf-user key="Passport" meta="true"] (https://prnt.sc/103ow6o)

    The filter that can be used along with “e2pdf-user” shortcode and E2Pdf Image object in case if above solution will not work. You can try to base64 encode image and modify “response” value: https://codeshare.io/5eOyzK

    We remain at your service.

    Thread Starter devsunny

    (@devsunny)

    Hi,

    Man Really you are the life saver.. ??
    https://mysite.com/import_media/ultimatemember/%5Be2pdf-user key=”ID”]/[e2pdf-user key=”Passport” meta=”true”]

    it worked>> Thank you so much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can not print Image on PDF with Ultimate Member’ is closed to new replies.