Chapter 6. How-to Guides

Abstract

Short, self-contained recipes for individual jobs, from placing a slider lower down a page to cleaning up images you no longer use.

Choose an Image Delivery Strategy

A slider's Image Delivery setting decides how browsers choose between the sizes SwiftSlider generated. It is on the slider's Advanced Settings tab.

Optimized for speed

Each range of screen widths receives exactly one image: screens up to 480 pixels wide get the 480-pixel copy, screens up to 768 pixels get the 768-pixel copy, and so on, with the full-size image for the widest screens. Screens with extra-sharp displays don't download larger files. This is the smallest download for every visitor, and the default.

Optimized for quality

The browser chooses among the generated copies, taking the screen's sharpness into account, so phones and laptops with high-density displays may download a larger copy that looks crisper. The largest copy offered is the one at your largest breakpoint.

Mobile optimized for speed, Desktop for quality

Phones receive the smallest image, or their crop, as in speed mode. Tablets choose among the larger copies as in quality mode. Wider screens receive the full-size optimized image. A good choice when your desktop visitors expect detailed, large images.

In every mode, browsers receive AVIF or WebP when they support them. If you're unsure, keep Optimized for speed: the difference in sharpness is rarely noticeable in a moving slider, and the difference in download size often is. Appendix A, Which Image Each Screen Receives lists exactly which file each screen receives in each mode.