Skip to main content

Troubleshooting overview

Normally, a successfully converted image is returned with code 200, the converted content in the body, and the following set of headers in the response:
  • X-Img-Server
  • headers from origin
  • X-IMG-Saved-Bytes
  • X-IMG-Origin-Download-Time
  • X-IMG-Processing-Time
  • "Content-Type":"{image/webp or image/avif}"
  • Content-Length
  • X-GCDN-Origin-Size
However, you may encounter problems when using Image Stack. For example, an image might be delivered to your web page in its original state without Image Stack processing, or an image may not be displayed on the page at all.
Troubleshooting overview
This article describes all possible errors that may occur when working with Image Stack, and explains how to fix them.

How to check an image’s details for troubleshooting

The developer tools allow you to check your processed image’s status code, response headers, and body outputs.
How to check an image's details for troubleshooting
1. Go to the page where you used Image Stack and open the developer tools (Ctrl+Shift+I for Chrome) 2. Navigate to the Network section on the top side 3. In the page elements list on the left of the page, click the image you want to examine 4. Use the headers section to view information about the selected image Below, you will find a list of errors. You can identify the error you faced by comparing the status code, response headers, and body outputs provided for each case.

Common errors that result in a broken image

Common errors that deliver an image in its original state

Note : The request’s body will be proxied from your origin. The response headers will include X-Img-Server and headers from the origin. The status code of the response will be 200 OK.

Compression and quality operation errors

Note : The request’s body will be proxied from your origin. The response headers will include X-Img-Server and headers from the origin. The status code of the response will be 200 OK.

Resize operation errors

Note : The request’s body will be proxied from your origin. The response headers will include X-Img-Server and headers from the origin. The status code of the response will be 200 OK.

Crop operation errors

Note : The request’s body will be proxied from your origin. The response headers will include X-Img-Server and headers from the origin. The status code of the response will be 200 OK.