Forums Forums Search & Filter Pro Ajax and Amazon Cloudfront CDN images not showing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #9135

    Hey,

    We’re using Search & Filter pro with ajax to show our listings.

    We’re also using Amazon Cloudfront to host the images. They show fine everywhere on the site, apart from within the search results by Search & Filter Pro.

    Search & Filter Pro just serves is associating the wrong url with the image.

    Any ideas how to fix this?

    Rich

    Ross Moderator
    #9163

    Hey Rich

    How are you using the plugin, using a shortcode?

    If this is the case, then I suspect the WordPress function the_post_thumbnail is not the correct way to retrieve your Amazon Cloudfront URL?

    If you are indeed using the shortcode for results and experiencing these problems, then you will need to follow the steps here in regards to copying the S&F template files over, and replacing the_post_thumbnail with whatever is require by the CDN.

    If however your are not using a shortcode, let me know and we can try some other things…

    Thanks

    Anonymous
    #9179

    Hi Ross,

    Thanks for coming back to me on this.

    We are indeed using the shortcode.

    Do you have any idea what we would use to replace the_post_thumbnail with?

    Or would that be something only Amazon would know?

    Thanks

    Rich

    Ross Moderator
    #9185

    Hey Rich

    I’m not sure, how are you setting up your CDN, how do regular page templates work in your theme?

    I would take a look at other template files in your theme to see if they are using the_thumbnail – it also may be possible that ajax requests don’t load the CDN plugins/code as the ajax URL is considered an admin URL (admin-ajax.php), however, on page load they should (as ajax is not used then)…

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)