Best WordPress Theme & Plugin For Photographers

Imagely Documentation

Documentation, Reference Materials and Tutorials for Imagely

Imagely CDN

What is Imagely CDN?

CDN (Content Delivery Network) is a service provided by Imagely that will help load the gallery images faster by delivering them from servers that are near or close to your site visitors.

It’s like having copies of the gallery image stored in different places around the world. So when someone visits the site, the image is loaded from the closest location to them, which makes the image load faster.

For example, you live in the US, but your site is hosted in Europe. When someone visits the gallery, the image is loaded all the way from Europe, which can be slow. So with a CDN, images are also stored on servers in the US, so that visitors get the image much faster.

So using a CDN with Imagely means all the gallery images will load more quickly, no matter where they are.

How does CDN help your site?

Basically, CDN helps to deliver the images from the nearest server to the visitors. That results in improved loading speed and performance for the website.

Additionally, CDN handles most of the traffic, so the main server will have less pressure, which makes the site more stable.

To sum up, it makes your website faster, safer, and more stable.

How to purchase and install Imagely CDN

Here’s a simple step-by-step guide on purchasing a CDN license. It also includes the steps to install and verify the license key to get started:

1. Purchase a CDN license

To purchase the CDN license, please follow the steps below

  1. Click Imavely CDN from the menu at the top of our site.
  2. Choose the plan that suits your needs.
  3. Complete the Purchase
Imagely CDN link in the navigation menu

2. Download CDN plugin

Once the purchase process is completed, log in to your Imagely account. Then download the CDN plugin from the Downloads tab.

Click the Download Imagely CDN button to download the plugin file.

Download Imagely CDN button

3. Install the Imagely CDN plugin

For the Installation Process, please follow the steps below:

  • Navigate to the WordPress Dashboard
  • Click on Plugins > Add New
  • Click on Upload Plugin > Choose File
  • Choose the imagely-image-cdn.zip plugin zip file from your local computer.
install imagely cdn plugin

Once the plugin has been uploaded, click Activate Plugin.

activate imagely cdn plugin

4. Verify license

Finally, you will need to verify your license key before accessing the features included. To verify the license key, please follow the steps below:

  1. Log in to your Imagely Account
  2. Click on the Downloads tab
  3. Copy the license key you’ll find under Imagely CDN

License key verification screen

Now, log in to the WordPress Dashboard.

Once the Imagely CDN plugin is successfully installed and activated, you’ll see Imagely CDN added to your WordPress dashboard menu.

Click on Imagely CDN.

You should see a pop-up message saying – Please enter a valid key to use the CDN features.

Click on Activate License and add the license key in the box. Once you have added the license key, click Verify Key.

verify key
Verify CDN License

Now that your license key is verified, you can start setting up the Imagely CDN to offload your gallery images and make your site load faster.

How to enable and have images served via Imagely CDN

Using Imagely CDN helps images load faster by delivering the image from the server closest to your visitors. It makes gallery image loading quicker and improves the performance.

Here’s how you can enable having images served via Imagely CDN.

  1. Go to WordPress Dashboard
  2. Click on Imagely CDN > Settings
  3. Enable the feature by switching Enable Imagely CDN to ON.
enable CDN

After you turn on the Imagely CDN option, a Bulk Offload Images button will appear, which will copy the images from the Media Library to the CDN so they load faster on your site

bulk offload images button

Once the process is completed, the image will start loading through the CDN. This means the image will load from the nearest server to the visitors.

How to check if images are being served via Imagely CDN

To check if an image is being served by the CDN on the frontend, follow the steps below:

  • Go to a page with an Imagely Image.
  • Right-click on the image and select Inspect
  • In the developer tools, look at the src attribute of the image tag <img>
  • If the URL starts with the CDN domain, like https://images.imagely-cdn.com/, then the image is being served by the CDN.
check if images are being serviced by CDN
Annotation on 2025 09 18 at 12 34 23

How to enable automatic image resizing

The Image Transformation option available under Imagely CDN helps improve your website performance by automatically resizing the images.

Enabling the feature ensures that images are only as large as necessary for each screen size. Essentially, it scales images down to the required size based on their intended display (e.g., thumbnails, mobile, or desktop).

Here’s how you can enable resizing the CDN image automatically.

  • Go to WordPress Dashboard
  • Click on Imagely CDN > Settings
  • Enable the feature by switching Enable Transformations to ON.
enable transformations

How to remove an image from Imagely CDN

When you enable Imagely CDN and offload the images, they are copied from the WordPress Media library to the CDN server.

However, if you no longer want a specific image to be served from the CDN, you can remove the image. Doing so will stop the image from being served via the CDN.

Here’s how you can remove the image from Imagely CDN:

  1. Go to WordPress Dashboard
  2. Click on Media > Library
  3. Find the image you want to remove and view the image
  4. Click ‘Remove from CDN” under the image
  5. Confirm the image deletion

This will remove the image from CDN, but the image will remain on the Media library.

Exclude from CDN

CDN CLI Command

CLI (Command Line Interface) on WordPress allows you to interact with the plugin through the command line instead of making actual changes from the WordPress Dashboard.

To sum up, it is a way to interact with the plugin by typing commands into a terminal or command prompt, instead of using buttons and menus from the WordPress dashboard.

What is CDN CLI Command, and how to use it?

A CDN CLI Command refers to using the CLI to interact with the Imagely CDN. This allows you to upload images, add, license key, offload images to CDN, and make other changes to CDN settings directly from the server rather than through the Imagely CDN plugin dashboard.

Where can I find the list of CDN CLI commands?

You can find the list of available CDN CLI Commands below:

Basic Commands

# List all available commands
wp imagely-cdn

# Upload images to CDN
wp imagely-cdn upload
wp imagely-cdn upload --dry-run

# Set license key
wp imagely-cdn set_license <license-key>

Feature Management

# Enable CDN
wp imagely-cdn enable

# Enable image transformations
wp imagely-cdn enable_transforms

# Exclude post from CDN
wp imagely-cdn exclude_post <post-id>

Alternatively, you can also find the command in the Imagely CDN settings. To view the command, please follow the steps below:

  1. Go to WordPress Dashboard
  2. Click on Imagely CDN > Advanced
  3. Under the CLI Commands section, you can find the list of available CDN CLI Commands.
Envira CDN CLI Command

How to Set up WP-CLI on your Device?

Setting up WP-CLI is a quick and easy process. It lets you perform tasks like installing plugins, adding a license key, enabling Imagely CDN, and a lot more directly from the terminal without accessing the WordPress Dashboard.

To get started, please follow this helpful setup guide from WPBeginner on WP-CLI Setup. This guide provides step-by-step instructions to set up WP-CLI on your Computer.

Error codes

Error codes on WordPress are the message that shows up when something goes wrong on your site. These codes help you identify the problems so you can fix them.

Below is the list of common error codes that might appear when using Imagely, along with their meaning:

Error Code Meaning Simple Explanation
400 Bad Request The server couldn’t understand your request – maybe a typo or bad data
408 Request Timeout The server waited too long for your request and gave up.
413 Payload Too Large The file or data you tried to upload is too big for the server to handle.
415 Unsupported Media Type The server can’t handle the type of file you’re uploading.
429 Too Many Requests You’ve sent too many requests in a short time – try again later.

FAQs

Q: Do I need to manually offload the image every time I upload a new image to Imagely?

A: No, you don’t need to manually offload each time. Once Imagely CDN is enabled, any new images you upload will automatically be served by the CDN.

Q: How long does it take to offload 1000 images?

A: On average, it takes approximately ~51 minutes to offload 1000 images. This duration can vary depending on several factors, including the current queue, individual file sizes, and other system-related parameters.

Offloading images via the Command Line Interface (CLI) typically offers a slightly faster process.

Q: Will Imagely CDN work with my theme?

A: Block themes and classic themes should work fine with Imagely CDN, however, images used by themes that are not in the media library will not be loaded via the CDN.

Experience the Imagely Difference

Best WordPress Theme & Plugin For Photographers

Enter the URL of your WordPress website to install

Upgrade to Imagely Pro

Imagely is perfect for photographers, designers, bloggers, and creative professionals who want more than just a gallery.

Built in eCommerce and print fulfillment

90+ themes and designs

Tons of customizations and options

14 day money back guarantee