diff --git a/core/modules/picture/picture.module b/core/modules/picture/picture.module index b9b3b01..ca0469c 100644 --- a/core/modules/picture/picture.module +++ b/core/modules/picture/picture.module @@ -16,15 +16,13 @@ function picture_help($path, $arg) { switch ($path) { case 'admin/help#picture': $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Picture module provides an image formatter and breakpoint mappings to output responsive images using the HTML5 picture tag.') . '

'; + $output .= '

' . t('The Picture module provides an image formatter and breakpoint mappings to output responsive images using the HTML5 picture tag. For more information, see the online documentation for the Picture module.', array( '!picture' => 'https://drupal.org/documentation/modules/picture')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; - $output .= '
' . t('Mapping image styles to breakpoints') . '
'; - $output .= '
' . t('To use responsive images, you need to define what size the images should be depending on the breakpoints. The Picture module allows you to define which image style should be used for each breakpoint on the picture mappings administrative page.', array( - '@link' => url('admin/config/media/picturemapping'), - )) . '
'; - $output .= '
' . t('Formatting an Image field') . '
'; - $output .= '
' . t('Images in Image fields can be formatted using the Picture formatter, to make them responsive. They will be automatically resized depending on breakpoints.') . '
'; + $output .= '
' . t('Defining picture mappings') . '
'; + $output .= '
' . t('By creating picture mappings you define the image styles that are being used to output images at certain breakpoints. On the Picture mappings page, choose Add a picture mapping to create a new mapping. After having chosen a label and breakpoint group, you can choose the image styles that will be used for each breakpoint. Image styles can be defined on the Image styles page that is provided by the Image module. Breakpoints are defined in the configuration files of the theme. See the help page of the Breakpoint module for more information.', array('!link' => \Drupal::url('picture.mapping_page'), '!image_styles' => \Drupal::url('image.style_list'),'!image_help' => \Drupal::url('help.page', array('name' => 'image')), '!breakpoint_help' => \Drupal::url('help.page', array('name' => 'breakpoint')))) . '
'; + $output .= '
' . t('Using picture mappings in image fields') . '
'; + $output .= '
' . t('After defining picture mappings, you can use them in the display settings for your image fields, so that the site displays responsive images using the HTML5 picture tag. Open the Manage display page for the entity type (content type, taxonomy vocabulary, etc.) that the image field is attached to. Choose the format Picture and select one of the picture mappings that you have created. For general information on how to manage fields and their display see the help page of the Field UI module. For information about entities see the help page of the Entity module.', array('!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')),'!entity_help' => \Drupal::url('help.page', array('name' => 'entity')))) . '
'; $output .= '
'; break; case 'admin/config/media/picturemapping':