• Resolved fabuni

    (@fabuni)


    I am creating a PDF to download from user profile but I am unable to map the profile photo to image object. I use Ultimate Member to create user profiles. I have tried mapping short codes in visual mapper but fails.

    Please tell me how I can add the profile photo to the template?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author E2Pdf

    (@oleksandrz)

    Hi,

    It looks like profile photo in Ultimate Member saved under path: /wp-content/uploads/ultimatemember/user_id/profile_photo

    So can you try please to use combined shortcode as “Image” value (for test purposes you can use “textarea” to see if it generates “Profile URL” and image is accessible):

    https://fab-uni.com/wp-content/uploads/ultimatemember/[e2pdf-user key="ID"]/[e2pdf-user key="profile_photo" meta="true"]

    As an alternative you can try:

    [e2pdf-user key="user_avatar"]

    If it also will fail: are you able to find any key or meta key which outputs “Image ID” or “Image URL” to profile photo?

    We remain at your service.

    Thread Starter fabuni

    (@fabuni)

    `https://fab-uni.com/wp-content/uploads/ultimatemember/[e2pdf-user key=”ID”]/[e2pdf-user key=”profile_photo” meta=”true”]

    This was the correct code.

    I tried [e2pdf-user key="user_avatar"] earlier but failed to fetch the image.

    • This reply was modified 2 years, 8 months ago by fabuni.
    • This reply was modified 2 years, 8 months ago by Steven Stern (sterndata).
    • This reply was modified 2 years, 8 months ago by fabuni.
    • This reply was modified 2 years, 8 months ago by fabuni.
    • This reply was modified 2 years, 8 months ago by fabuni.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Profile Photo on e2pdf template’ is closed to new replies.