You are here

function image_help in Image 5

Same name and namespace in other branches
  1. 5.2 image.module \image_help()
  2. 6 image.module \image_help()

Implementation of hook_help

File

./image.module, line 18

Code

function image_help($section) {
  switch ($section) {
    case 'admin/help#image':
      $output = '<p>' . t('The image module is used to create and administer images for your site. Each image is stored as a post, with thumbnails of the original generated automatically. There are two default thumbnail sizes, thumbnail and preview. The thumbnail size is shown as the preview for image posts and when browsing image galleries. The preview is the default size when first displaying an image node.') . '</p>';
      $output .= '<p>' . t('Image administration allows the image directory and the image sizes to be set.</p><p>
Image galleries are used to organize and display images in galleries.   The list tab allows users to edit existing image gallery names, descriptions, parents and relative position, known as a weight.  The add galleries tab allows you to create a new image gallery defining name, description, parent and weight.') . '</p>';
      $output .= t('<p>You can</p>
<ul>
<li>view image handling messages in <a href="!admin-settings">administer &gt;&gt; settings</a>.</li>
<li>configure image sizes and file directories at <a href="!admin-settings-image">administer &gt;&gt; settings &gt;&gt; image</a>.</li>
<li>use the <a href="!external-http-drupal-org-project-img_assist">image assist module</a> to upload and insert images into posts.</li>
', array(
        '!admin-settings' => url('admin/settings'),
        '!admin-image-galleries' => url('admin/image/galleries'),
        '!admin-settings-image' => url('admin/settings/image'),
        '!external-http-drupal-org-project-img_assist' => 'http://drupal.org/project/img_assist',
      )) . '</ul>';
      $output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="!image">Image page</a>.', array(
        '!image' => 'http://www.drupal.org/handbook/modules/image/',
      )) . '</p>';
      return $output;
  }
}