Image previews are gone after Theme update

Hello,

after updating the X-Theme to the actual version, all of my image previews are gone like here: http://iamconsult.org/go/free-affiliate-marketing-resources
and here: http://iamconsult.org/go/news/

What can I do about it?

Regards
Mick

Hi Mick,

The images source is strange: /iamconsult.org/wp-content/uploads/2015/07/everwebinar.jpg?fit=1200%2C800 instead of http://iamconsult.org/wp-content/uploads/2015/07/everwebinar.jpg?fit=1200%2C800

Please try adding this function under functions.php file locates in your child theme:

function x_ethos_entry_cover_background_image_style() {

    $featured_image   = x_get_featured_image_url();
    $background_image = ( $featured_image != '' ) ? 'background-image: url(' . $featured_image . ');' : 'background-image: none;';

    return $background_image;

}

Let us know how it goes!

Hey Thai,
yeah, I noticed that too when I checked the link in the Chrome console but didn’t know how to fix it.
Thanks to your code snippet everything works again perfectly.

Thank you very much mate. :slight_smile:

Glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.