Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Emre Vona

    (@emrevona)

    thank you so much. I will fix and let you know.

    Thread Starter dtldesigns

    (@dtldesigns)

    Great thanks. I’ve been going at attempting a function fix that adds the http or https in front almost have it. As soon as I solve I will post here for others.

    Thanks again. WP Fastest Cache is the best plugin to speed up the site. I’ve worked with several other solutions over the years from WP Rocket to W3 Total Cache and others. Plus the feature to use Photon CDN without the hefty slow down of entire Jetpack. THE BEST SPEED UP FOR WORDPRESS = WP Fastest Cache.

    Thread Starter dtldesigns

    (@dtldesigns)

    Alright good news here’s the total function that fixed it for me that adds the image to RSS and hard codes https: in front of it.

    function featuredtoRSS($content) {
    global $post;
    if ( has_post_thumbnail( $post->ID ) ){ 
    $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), "large" );
    $content = '<div> <img src="https:' . $thumbnail[0] .'"/>  </div>' . $content;
    }
    return $content;
    }
    
    add_filter('the_excerpt_rss', 'featuredtoRSS');
    add_filter('the_content_feed', 'featuredtoRSS');
    Plugin Author Emre Vona

    (@emrevona)

    Hi again, I thought that you get a warning on any rss validator. but everything is ok on https://validator.w3.org/

    src=”//i3.wp.com/mysite.com/wp-content/uploads/”

    “//” is not a bug. I add it specifically. It works both on http and httpS urls. No need to change anything.

    Thread Starter dtldesigns

    (@dtldesigns)

    Thanks again for looking into this. You’re WP Fastest Cache plugin is by far the best speed optimize WordPress sites.

    It’s strange couldn’t get the MailChimp RSS emails to send with images. Perhaps a trouble with MailChimp compatibility not able to pick up on images src beginning with // No matter what I tested. The MailChimp RSS feed emails where not able to grab the images with src=”//

    The only way I could get MailChimp RSS emails to send the images was to force http

    If I test an image in a browser copy and pasting //i3.wp.com/elisasolomon.com/wp-content/uploads/2017/12/irridescent-rainbow-jewelry-1024×575.jpg it doesn’t load.

    Thanks again I’m going to mark as resolved.

    Thread Starter dtldesigns

    (@dtldesigns)

    Thanks. Most plugin authors very strict and just reply please purchase a premium license for support. Thanks again. Great plugin, great maintenance and fast and dedicated replies from the author! ????

    Plugin Author Emre Vona

    (@emrevona)

    thank you ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CDN Photon image src URL in RSS is missing http: or https: in front of them’ is closed to new replies.