Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    we hope you’re doing well!

    It seems that another URL is prefixed to your URL, since if you see that URL, at the end the following one appears, which correctly displays the image:

    https://www.arbaventure.fr/wp-content/uploads/2023/12/bon-kdo-10.jpg

    Could you provide us with a link to a gift card on your site please?

    Best regards.

    Thread Starter undarktaker

    (@undarktaker)

    Hello,
    https://www.arbaventure.fr/produit/bon-cadeau-10/

    URL with prefix is URL from Gmail when i use Chrome DevTools i see this URL’s image. It’s same for logo but it’s work.

    Thread Starter undarktaker

    (@undarktaker)

    Hello,
    my issue is resolved. I modified the ywgc-gift-card-template.php template. I replaced line 78

    $header_image_url = apply_filters( 'ywgc_custom_header_image_url', preg_replace( '/^https(?=:\/\/)/i', 'http', $header_image_url ), $context );

    with

    $header_image_url = apply_filters( 'ywgc_custom_header_image_url', $header_image_url, $context );

    The preg_replace was causing the problem.
    Thank you for your assistance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image link in mail 404’ is closed to new replies.