Amazon.com, Inc.
Dynamically selecting an image for display
Last updated:
Abstract:
Techniques for generating a web page and displaying an image in the web page may be provided. For example, the web page may include a placeholder for displaying the image. A service may be implemented to determine how many images and sizes of such images that should be made available for use in the placeholder. Further, the service may configure the web page to identify available images based on the determined number and sizes and to include a script for selecting one of the available images. Upon displaying the web page in a browser, the script may determine the size of the placeholder as displayed in the web page and may select one of the available images based on the determined placeholder size. The script may further cause the browser to download and display the selected image in the placeholder.
Utility
19 Dec 2017
27 Jul 2021