In this article, you’ll learn how to use third-party image hosting services and content delivery networks (CDNs) with Thrive Architect. This includes loading images from external URLs, configuring CDN services to work seamlessly with the Thrive Architect editor, and resolving common compatibility issues — particularly with Cloudflare, one of the most widely used CDN and security platforms.
Whether you host images on an external CDN for faster delivery or use Cloudflare to protect and accelerate your entire site, these steps will help you ensure everything works smoothly with Thrive Architect.
Loading Images from Third-Party Services
By default, Thrive Architect loads images from your WordPress Media Library. However, you can also display images hosted on external servers, CDN platforms, or third-party image hosting services by entering their direct URL.
When to Use External Image URLs
Common scenarios for loading images from external sources:
- CDN-hosted images — Your images are stored on a CDN (such as Amazon S3, Bunny CDN, KeyCDN, or StackPath) for faster global delivery
- External image services — You use a dedicated image hosting platform that provides optimized, responsive images
- Shared media assets — Your organization hosts brand assets, logos, or product images on a central server used across multiple websites
- Stock photo services — Some stock photo platforms provide direct image URLs that you can embed without downloading
Adding an External Image to Thrive Architect
To load an image from a third-party URL:
- Open your page or post in the Thrive Architect editor.
- Add an Image element to the canvas by dragging it from the element panel, or select an existing Image element.
- In the left sidebar, locate the Image source section.
- Instead of selecting an image from the Media Library, click the External URL or Image URL option.
- Paste the full, direct URL of the externally hosted image (e.g.,
https://cdn.example.com/images/hero-banner.jpg). - The image will load on the canvas from the external source.
Requirements for External Image URLs
For external images to load correctly in Thrive Architect, ensure that:
- The external server allows hotlinking (some servers block requests from other domains)
- The URL uses HTTPS (matching your site’s SSL certificate to avoid mixed content warnings)
- The image URL is publicly accessible (not behind authentication or a paywall)
- The external server has proper CORS headers configured if the image needs to be manipulated by JavaScript
Using a CDN with Thrive Architect
A content delivery network (CDN) caches your website’s static assets — including images, CSS, and JavaScript files — on servers distributed around the world. When a visitor loads your page, the CDN serves these files from the server closest to them, reducing load times.
General CDN Compatibility
Thrive Architect is compatible with most CDN services. However, some CDN configurations can interfere with the Thrive Architect editor if they aggressively optimize, minify, or modify JavaScript and CSS files.
Common CDN Providers
Thrive Architect works with popular CDN services including:
- Cloudflare (see dedicated section below)
- Bunny CDN
- KeyCDN
- StackPath / MaxCDN
- Amazon CloudFront
- Sucuri
- Fastly
Best Practices for CDN Configuration
To ensure your CDN works smoothly with Thrive Architect:
- Exclude admin pages from caching — Ensure your CDN does not cache WordPress admin pages or the Thrive Architect editor. Most CDNs automatically exclude
/wp-admin/URLs, but verify this in your CDN settings. - Exclude editor assets from minification — If your CDN offers JavaScript or CSS minification, exclude Thrive Architect’s editor scripts from this process. Minifying editor assets can break the visual editor.
- Clear CDN cache after changes — After making design changes in Thrive Architect, purge or clear your CDN cache to ensure visitors see the updated version of your pages.
- Use HTTPS consistently — Ensure your CDN is configured to serve all assets over HTTPS to avoid mixed content warnings.
Ensuring Cloudflare Works with Thrive Architect
Cloudflare is one of the most popular CDN and website security services. While Cloudflare works well with Thrive Architect on the front end of your site, certain Cloudflare features can interfere with the Thrive Architect editor.
Cloudflare Features That May Cause Issues
The following Cloudflare features are known to conflict with the Thrive Architect editor:
- Rocket Loader — Cloudflare’s JavaScript optimization feature that defers and bundles JavaScript files. This can break Thrive Architect’s editor scripts, causing the sidebar to fail to load, elements to become unresponsive, or the editor to display a blank page.
- Auto Minify (JavaScript) — Cloudflare’s automatic JavaScript minification can corrupt Thrive Architect’s editor scripts.
- Email Address Obfuscation — Cloudflare’s email protection feature can interfere with email-related elements and form fields in the editor.
- HTML Minification — Aggressive HTML minification can break the editor’s DOM structure.
Disabling Rocket Loader
Rocket Loader is the most common cause of Thrive Architect editor issues on Cloudflare-enabled sites. To disable it:
- Log in to your Cloudflare dashboard at cloudflare.com.
- Select your website from the dashboard.
- Navigate to Speed > Optimization in the left sidebar.
- Scroll down to find the Rocket Loader setting.
- Toggle Rocket Loader to Off.
- Save your changes.
Note: Disabling Rocket Loader applies to your entire site. If you want to keep Rocket Loader active on front-end pages while disabling it for the editor, use a Cloudflare Page Rule instead (see below).
Creating a Page Rule to Bypass Cloudflare for the Editor
Instead of disabling Cloudflare features site-wide, you can create a Page Rule that turns off problematic features only for the Thrive Architect editor URL pattern:
- Log in to your Cloudflare dashboard.
- Select your website.
- Navigate to Rules > Page Rules in the left sidebar.
- Click Create Page Rule.
- In the URL pattern field, enter:
yourdomain.com/tve=true*- Replace
yourdomain.comwith your actual domain name. - The
tve=trueparameter is present in the URL when the Thrive Architect editor is active.
- Replace
- Add the following settings to the Page Rule:
- Rocket Loader — Set to Off
- Auto Minify — Uncheck JavaScript (you can leave CSS and HTML checked if desired)
- Email Obfuscation — Set to Off
- Cache Level — Set to Bypass
- Click Save and Deploy.
This Page Rule ensures that Cloudflare’s optimization features are disabled only when you are using the Thrive Architect editor, while keeping them active for your front-end visitors.
Disabling Auto Minify for JavaScript
If you prefer not to use a Page Rule, you can disable JavaScript minification site-wide:
- In the Cloudflare dashboard, navigate to Speed > Optimization.
- Find the Auto Minify section.
- Uncheck the JavaScript checkbox.
- Click Save.
You can keep CSS and HTML minification enabled, as these typically do not cause issues with the Thrive Architect editor.
Clearing Cloudflare Cache After Changes
After making changes in Thrive Architect, purge Cloudflare’s cache to ensure visitors see the latest version:
- In the Cloudflare dashboard, navigate to Caching > Configuration.
- Click Purge Everything to clear all cached files.
- Alternatively, use Custom Purge to clear only specific URLs that you have updated.
Troubleshooting Common CDN Issues
The Thrive Architect Editor Fails to Load or Shows a Blank Page
Cause: JavaScript optimization or minification by your CDN is corrupting the editor scripts.
Solution:
- Temporarily disable your CDN or put it in development mode.
- Reload the Thrive Architect editor to confirm the CDN was causing the issue.
- Configure your CDN to exclude the editor URL pattern from JavaScript optimization and caching (see the Cloudflare Page Rule section above for an example).
Images Do Not Appear After Saving
Cause: Your CDN is serving a cached version of the page that does not include the newly added images.
Solution:
- Purge your CDN cache for the specific page or purge the entire cache.
- Reload the page to verify the images appear.
- If using Cloudflare, navigate to Caching > Configuration and click Purge Everything.
External Images Show a Broken Image Icon
Cause: The external image URL is incorrect, the external server blocks hotlinking, or the URL uses HTTP instead of HTTPS.
Solution:
- Open the image URL directly in your browser to verify it loads correctly.
- Ensure the URL uses HTTPS.
- Contact the external image host to confirm hotlinking is allowed from your domain.
- If hotlinking is blocked, download the image and upload it to your own WordPress Media Library or CDN.
CSS or Styling Changes Do Not Appear on the Front End
Cause: Your CDN is serving cached CSS files that do not include your latest changes.
Solution:
- Purge your CDN cache (both the CDN and any WordPress caching plugin).
- Check if your CDN is minifying CSS files in a way that removes Thrive Architect styles.
- Verify that your CDN is not stripping inline styles from the HTML.
The Editor Sidebar Controls Are Missing or Unresponsive
Cause: Cloudflare Rocket Loader or another JavaScript optimization feature is interfering with the editor.
Solution:
- Disable Rocket Loader in your Cloudflare dashboard (see instructions above).
- Disable JavaScript Auto Minify in Cloudflare.
- If using a different CDN, disable any JavaScript deferral, bundling, or minification features for your WordPress admin area.
- Clear your browser cache and reload the editor.
Mixed Content Warnings When Using External Images
Cause: Your site uses HTTPS, but the external image URL uses HTTP.
Solution:
- Update the image URL to use HTTPS instead of HTTP.
- If the external server does not support HTTPS, download the image and host it on your own HTTPS-enabled server or CDN.
Frequently Asked Questions
Do I Need to Disable My Entire CDN to Use Thrive Architect?
No. CDN services work well with Thrive Architect on the front end. You only need to configure exceptions for the editor. Most issues are resolved by creating a rule that bypasses JavaScript optimization and caching for the editor URL pattern.
Will Disabling Rocket Loader Slow Down My Site?
Rocket Loader provides marginal speed improvements by deferring JavaScript. Disabling it is unlikely to have a significant impact on your site speed, especially if you use other performance optimizations like caching and image compression. If you prefer to keep Rocket Loader active, use a Cloudflare Page Rule to disable it only for the editor URL.
Can I Use Cloudflare’s Image Optimization with Thrive Architect?
Yes. Cloudflare’s image optimization features (such as Polish and WebP conversion) work on the front end of your site and do not interfere with the Thrive Architect editor. These features optimize images served to your visitors without affecting the editor experience.
Does Thrive Architect Support WebP Images from CDNs?
Yes. If your CDN converts images to WebP format, Thrive Architect will display them correctly on the front end. In the editor, you may see the original format, but the front-end output will use whatever format the CDN delivers.
Related Resources
- Image Element: How to Use the Image Element — Adding and configuring images in Thrive Architect
- Image Gallery Element: How to Use the Image Gallery Element — Displaying multiple images in gallery layouts
- Background Styles: How to Use Background Styles — Using external image URLs for element backgrounds
- Getting Started: Getting Started with Thrive Architect — Overview of the editor and element panel
That’s it! You’ve successfully learned how to use third-party images and CDN services with Thrive Architect. By configuring external image URLs correctly, setting up CDN exclusions for the editor, and resolving Cloudflare-specific conflicts like Rocket Loader, you can enjoy the performance benefits of a CDN while maintaining a fully functional Thrive Architect editing experience.