Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

CDN Issue With Background Images

$
0
0

Replies: 0

I”m using AO on a site built with Beaver Builder. I have a row with 3 columns, each having a separate background image.

The first background image displays correctly with the correct URL:

https://cdn.mysite.com/wp-content/uploads/image1.png

However, the other two columns in the same row (and created identically to the first) are not being rendered correctly and have an incorrect URL when the CDN is activated:

https://cdn.mysite.comhttps://cdn.mysite.com/wp-content/uploads/image2.png

For some reason the CDN URL is appended so it’s being output twice.

Again, all 3 images are rendered identically so I can’t pinpoint what’s going on. If I turn off the CDN and look at the underlying code, they are the same (except for the actual image file being different).

I’ve tried entering the CDN url using both https://cdn.mysite.com and //cdn.mysite.com.

The output for CSS and JS is working just fine. It’s only background images.

Thanks


Viewing all articles
Browse latest Browse all 59525

Trending Articles