responsive_image.module

Responsive image display formatter for image fields.

File

core/modules/responsive_image/responsive_image.module

Functions

Name Description
responsive_image_build_source_attributes Helper function for template_preprocess_responsive_image().
responsive_image_get_image_dimensions Determines the dimensions of an image.
responsive_image_get_mime_type Determines the MIME type of an image.
responsive_image_help Implements hook_help().
responsive_image_library_info_alter Implements hook_library_info_alter().
responsive_image_theme Implements hook_theme().
template_preprocess_responsive_image Prepares variables for a responsive image.
template_preprocess_responsive_image_formatter Prepares variables for responsive image formatter templates.
_responsive_image_image_style_url Wrapper around image_style_url() so we can return an empty image.

Constants

Name Description
RESPONSIVE_IMAGE_EMPTY_IMAGE The machine name for the empty image breakpoint image style option.
RESPONSIVE_IMAGE_ORIGINAL_IMAGE
doc_Drupal
2016-10-29 09:38:11
Comments
Leave a Comment

Please login to continue.