Fullsize images not beeing served by CloudFlare
-
Hi,
First of all, thanks for the awesome plugin, it works fantastic!
I have 2 questions:
- If i watch the source code, i see the sourceset of the image points properly to imagedelivery.net, but the first image still points to the main server. Example:
<img width="685" height="445" src="https://mydomain.com/wp-content/uploads/2021/12/Wildways-V7-MC1-4-aspect-ratio-685-445.jpg" class="attachment-slider-item size-slider-item" alt="" decoding="async" loading="lazy" srcset="https://imagedelivery.net/g65XQ1NFDxpPR_G3NFTuoA/86645ba6-31bd-4058-02a6-49150ffbca00/w=9999 2000w, https://imagedelivery.net/g65XQ1NFDxpPR_G3NFTuoA/86645ba6-31bd-4058-02a6-49150ffbca00/w=300,h=195 300w, https://imagedelivery.net/g65XQ1NFDxpPR_G3NFTuoA/86645ba6-31bd-4058-02a6-49150ffbca00/w=1024,h=665 1024w, https://imagedelivery.net/g65XQ1NFDxpPR_G3NFTuoA/86645ba6-31bd-4058-02a6-49150ffbca00/w=768,h=499 768w, https://imagedelivery.net/g65XQ1NFDxpPR_G3NFTuoA/86645ba6-31bd-4058-02a6-49150ffbca00/w=1536,h=998 1536w" sizes="(max-width: 685px) 100vw, 685px" />
2. If i call the image by wp_get_attachment_image_url(), the image is still loading from the original source:
<style> @media (min-width: 1441px) { #page-hero-gradient-5421 { background-image: url(https://mydomain.com/wp-content/uploads/2022/10/Sebastian-Lanser-RNT-1080-1-aspect-ratio-1920-960.jpg) !important; } } @media (max-width: 1024px) { #page-hero-gradient-5421 { background-image: url(https://mydomain.com/wp-content/uploads/2022/10/Sebastian-Lanser-RNT-1080-1-aspect-ratio-1024-550.jpg) !important; } } @media (max-width: 767px) { #page-hero-gradient-5421 { background-image: url(https://mydomain.com/wp-content/uploads/2022/10/Sebastian-Lanser-RNT-1080-1-aspect-ratio-768-690-4.jpg) !important; } } @media (max-width: 414px) { #page-hero-gradient-5421 { background-image: url(https://mydomain.com/wp-content/uploads/2022/10/Sebastian-Lanser-RNT-1080-1-aspect-ratio-375-418-5.jpg) !important; } } </style> <div id="page-hero-gradient-5421" class="page-hero-gradient dark gradient-on" style="background-image: url(https://mydomain.com/wp-content/uploads/2022/10/Sebastian-Lanser-RNT-1080-1-aspect-ratio-1440-723.jpg)"> {...} </div>
Is there any way to fix this?
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Fullsize images not beeing served by CloudFlare’ is closed to new replies.