1. Home
  2. Knowledge Base
  3. Thrive Architect
  4. How to Use Third-Party Images and CDN Services with Thrive Architect

How to Use Third-Party Images and CDN Services with Thrive Architect

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:

  1. Open your page or post in the Thrive Architect editor.
  2. Add an Image element to the canvas by dragging it from the element panel, or select an existing Image element.
  3. In the left sidebar, locate the Image source section.
  4. Instead of selecting an image from the Media Library, click the External URL or Image URL option.
  5. Paste the full, direct URL of the externally hosted image (e.g., https://cdn.example.com/images/hero-banner.jpg).
  6. The image will load on the canvas from the external source.

Important: The external URL must point directly to an image file (ending in .jpg, .png, .gif, .webp, or similar). URLs that point to a web page containing an image (rather than the image file itself) will not work.

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

Tip: If an external image fails to load, open the URL directly in your browser to verify it returns an image. If the URL redirects to a login page or returns an error, the image will not display in Thrive Architect.

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:

  1. Log in to your Cloudflare dashboard at cloudflare.com.
  2. Select your website from the dashboard.
  3. Navigate to Speed > Optimization in the left sidebar.
  4. Scroll down to find the Rocket Loader setting.
  5. Toggle Rocket Loader to Off.
  6. 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:

  1. Log in to your Cloudflare dashboard.
  2. Select your website.
  3. Navigate to Rules > Page Rules in the left sidebar.
  4. Click Create Page Rule.
  5. In the URL pattern field, enter: yourdomain.com/tve=true*
    • Replace yourdomain.com with your actual domain name.
    • The tve=true parameter is present in the URL when the Thrive Architect editor is active.
  6. 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
  7. 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.

Tip: Cloudflare Page Rules are evaluated in order. Make sure your Thrive Architect rule is positioned above any conflicting rules. You can drag rules to reorder them.

Disabling Auto Minify for JavaScript

If you prefer not to use a Page Rule, you can disable JavaScript minification site-wide:

  1. In the Cloudflare dashboard, navigate to Speed > Optimization.
  2. Find the Auto Minify section.
  3. Uncheck the JavaScript checkbox.
  4. 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:

  1. In the Cloudflare dashboard, navigate to Caching > Configuration.
  2. Click Purge Everything to clear all cached files.
  3. Alternatively, use Custom Purge to clear only specific URLs that you have updated.

Tip: If you use a WordPress caching plugin alongside Cloudflare (such as WP Super Cache, W3 Total Cache, or WP Rocket), clear both your WordPress cache and your Cloudflare cache after making changes.

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:

  1. Temporarily disable your CDN or put it in development mode.
  2. Reload the Thrive Architect editor to confirm the CDN was causing the issue.
  3. 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:

  1. Purge your CDN cache for the specific page or purge the entire cache.
  2. Reload the page to verify the images appear.
  3. 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:

  1. Open the image URL directly in your browser to verify it loads correctly.
  2. Ensure the URL uses HTTPS.
  3. Contact the external image host to confirm hotlinking is allowed from your domain.
  4. 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:

  1. Purge your CDN cache (both the CDN and any WordPress caching plugin).
  2. Check if your CDN is minifying CSS files in a way that removes Thrive Architect styles.
  3. 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:

  1. Disable Rocket Loader in your Cloudflare dashboard (see instructions above).
  2. Disable JavaScript Auto Minify in Cloudflare.
  3. If using a different CDN, disable any JavaScript deferral, bundling, or minification features for your WordPress admin area.
  4. 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:

  1. Update the image URL to use HTTPS instead of HTTP.
  2. 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.

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.

Was this article helpful?

Related Articles

>