• Hi Alex

    Great plugin, thanks.

    The uploaded image isn’t showing on the edit screen or the front end because the path to the image source is being rendered as:

    https://mydomain.com/wp-content/https://mydomain.com/wp-content/...

    This is fixed when I replace:

    $image_link = WP_CONTENT_URL . $image;

    with:

    $image_link = $image;

    What would be the best way to make that change in functions.php?

    Best,

    • This topic was modified 4 years, 5 months ago by hcst.
    • This topic was modified 4 years, 5 months ago by hcst.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hcst

    (@hcst)

    I meant to add the front end is fixed when I replace:

    $bpxp_field_value = WP_CONTENT_URL . $raw_field_value;

    with:

    $bpxp_field_value = $raw_field_value;

    Plugin Author Alex Githatu

    (@kalengi)

    Hello hcst,

    Thanks for using my plugin.

    Some clarifications:

    1. What versions of WordPress and BuddyPress are you using?
    2. Have you done any customization of the image display?

    Kind regards,

    Alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Domain path repeated twice in output’ is closed to new replies.