CDN for background images not working

CDN is not applied to background images. A widget loading images like this:
<div class=”left” style=”background-image: url(https://site.com/wp-content/uploads/2018/11/Screen-Shot.png)”>

These images are not uploaded to CDN. Please advise how to fix it.

  • Kasia Swiderska
    • Support nomad

    Hello Amit ,

    I have enabled debug.log on your site and found this warning:

    PHP Warning: getimagesize(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

    I checked with the developer and they said that allow_url_fopen=0 needs to be changed to allow_url_fopen=1.
    Please contact your hosting provider and ask them to change that for your site.

    kind regards,
    Kasia