STK.responsive.optimizeImages

The function replaces the current transparent placeholder image with the optimal sized scaled version of the image requested. Must be run for images to be displayed on a responsive site.

  1. Function[callback]

Examples

Input

STK.responsive.optimizeImages();

Parameters

callback
A function to run after optimizeImages is finished
Type
Function