You are here

function ais_help in Adaptive Image Styles (ais) 7

Implements hook_help().

File

./ais.module, line 277
Adaptive Image Styles Module

Code

function ais_help($path, $arg) {
  switch ($path) {
    case 'admin/help#ais':
      return '<p>' . t('The adaptive image styles module offers an easy way to make any images adaptive.  Simply choosing to display the image with the "adaptive" image style with make the image adapt to the clients window width.  The <a href="@aissettings">Adaptive Image Styles administration page</a> provides an interface for choosing which image styles are using to generate the adapted images and set the threshold for when they are chosen.', array(
        '@aissettings' => url('admin/config/media/ais'),
      )) . '</p>';
    case 'admin/config/media/ais':
      return '<p>' . t('This page provides a interface for choosing which image style generate the adapted images.  The threshold for when each style is used can also be set.  The threshold refers to browser window width.') . '</p><p>' . t('Example: If there are three image style selected, with thresholds of 480, 768, and 992.  If the window width is from 0 - 480 pixels, the adaptive image will be displayed using the image style with a threshold of 480.  From 481 - 768, the 768 image style will be used, and any wider than 769, the image style with the threshold of 992 will be used.') . '</p>';
  }
}