Skip to content
digitalizando.

Check a catalogue photo at two widths before changing the links

Test the 480 pixels list and the 960 pixels thumbnail. Record the detail that needs to remain visible and how the store reacts to a failure.

Fictional example

This is a fictional example. A fictitious store photographs a container with two capacities. The list uses 480 pixels, and the thumbnail uses 960. The information that distinguishes the versions is on the label. The team wants to compare the two outputs from the same original before using image transformation addresses in production.

Step by step

  1. Choose an original image that is published with authorization and separate the version that should function as an alternative. Record the expected width for the list and the thumbnail.
  2. Generate the variations in the vendor’s environment and check the width, received format, and bytes. Open both pages to compare the cropping and the readability of the label on a real device.
  3. Mark in the exercise what has already been confirmed. Leave the original test unmarked if the URL still accepts an image outside the intended configuration.
  4. Record what happens when the variation fails. Compare the page with the original sample before replacing the storefront URLs.

Try it on Digitalizando

Start with the example and try your own data. The session stays in your browser.

↑ See the example and steps

How to read the result

The workshop is organizing the decision locally. The image that reaches the visitors needs to be checked in the environment where it will be published.

Open official service developers.cloudflare.com