Discovering and fixing image delivery issues

Default avatar.
November 10, 2016
Discovering and fixing image delivery issues.

If you have a modern website or mobile app, there’s no doubt you deal with a lot of media resources, particularly images. But delivering these images can be a challenge. You may not know if there are broken images on your website, or if URLs point users to non-existing images, resulting in HTTP status errors. Worse yet, search engines like Google, may have indexed the URLs of images that have since been deleted or modified, leading to even more errors when users try to access them.

So, how can you discover and identify these errors when you don’t have clear visibility into your system and analytics tools, like Google Analytics, are unable to help you find them? One good way is to use an image management solution that offers image delivery error reporting. When looking for a solution to help with this problem, you’ll want to make sure that it offers a centralized management console from which you can quickly and easily see detailed error reports.

[pullquote]Any issues involving the correct building of image URLs... can be identified, debugged and fixed before your users ever notice.[/pullquote]

An error report should list all the resource delivery errors for the current date (by default), as well as the number of errors by the type of error encountered. Another helpful feature is graphing capabilities, which can show the frequency of each type of error over a given period of time. Search capabilities are valuable as well, enabling you to retrieve the total number of errors for a specific date.

Among the types of errors you may find include:

  • 400 Bad Request: The server cannot process the request due to something that is perceived to be a request error. The cause could be malformed request syntax or invalid image transformation parameters.
  • 401 Unauthorized: Authentication is required and has failed, or has not been provided. For example, the URL should be signed when using add-ons or for certain transformations in Strict Transformations mode, or the image type was restricted in your account's security settings.
  • 404 Not Found: The requested resource could not be found, meaning the public_id is invalid.
  • 408 Request Timeout: The server timed out waiting for the request. This could be the result of a networking error or a slow client.
  • 420 Rate Limited: There may either be too many concurrent requests for images, or the hard quota for add-on usage for your account was exceeded.
  • 200 Fallback image on error: A default image placeholder was delivered as the requested image was not found.

When looking at an error report, you should be able to select one of these error categories, then see the list of errors encountered within that category and the details associated with that error, such as the reason for the error, the URL of the requested image and the referral web site (who is requesting the resource).

The information contained in error reports should be useful in pointing out issues with image delivery, and displayed in near real time. Besides the report’s usefulness in identifying and fixing issues with resource delivery on an ongoing basis, an error report can help when you first implement an image management solution, as well as when you launch your site or application in production or update it. Any issues involving the correct building of image URLs, or inadvertently breaking any image deliveries, can be identified, debugged and fixed before your users ever notice.

With an error reporting feature, you will be able to gain a lot of useful information and insight about your image and video delivery, and analyze problems associated with delivering your media. The report enables you to quickly locate the problems, debug and analyze the issues, and then fix them.

Nicole Amsler

Nicole Amsler is vice president of Marketing at Cloudinary. With 20 years of marketing experience, Nicole knows first-hand the positive impact that good website design and faster downloads have on demand generation and customer conversion rates.

Read Next

15 Best New Fonts, June 2024

Welcome to our roundup of the best new fonts we’ve found online in the last month. This month, there are notably fewer…

20 Best New Websites, June 2024

Arranging content in an easily accessible way is the backbone of any user-friendly website. A good website will present…

Exciting New Tools for Designers, June 2024

In this month’s roundup of the best tools for web designers and developers, we’ll explore a range of new and noteworthy…

3 Essential Design Trends, June 2024

Summer is off to a fun start with some highly dramatic website design trends showing up in projects. Let's dive in!

15 Best New Fonts, May 2024

In this month’s edition, there are lots of historically-inspired typefaces, more of the growing trend for French…

How to Reduce The Carbon Footprint of Your Website

On average, a web page produces 4.61 grams of CO2 for every page view; for whole sites, that amounts to hundreds of KG…

20 Best New Websites, May 2024

Welcome to May’s compilation of the best sites on the web. This month we’re focused on color for younger humans,…

Has AI Killed User Testing?

Web designers employ user testing to evaluate a website’s functionality and overall UX (user experience). Various…

Exciting New Tools for Designers, May 2024

This year, we’ve seen a wave of groundbreaking apps and tools. AI is reshaping the industry, enhancing productivity,…

Using AI to Predict Design Trends

Design trends evolve at a blistering pace, especially in web design. On multi-month projects, you might work on a…

15 Best New Fonts, April 2024

Just like web design, type design follows trends. And while there’s always room for an exciting outsider, we tend to…

3 Essential Design Trends, May 2024

Integrated navigation elements, interactive typography, and digital overprints are three website design trends making…