Image::$source

Path of the image file. Type: string File core/lib/Drupal/Core/Image/Image.php, line 22 Class Image Defines an image object to represent an image file. Namespace Drupal\Core\Image Code protected $source = '';

Image::$fileSize

File size in bytes. Type: int File core/lib/Drupal/Core/Image/Image.php, line 36 Class Image Defines an image object to represent an image file. Namespace Drupal\Core\Image Code protected $fileSize;

image.views.inc

Provide views data for image.module. File core/modules/image/image.views.inc Functions Name Description image_field_views_data Implements hook_field_views_data(). image_field_views_data_views_data_alter Implements hook_field_views_data_views_data_alter().

image.module

Exposes global functionality for creating image styles. File core/modules/image/image.module Functions Name Description image_entity_presave Implements hook_entity_presave(). image_field_config_delete Implements hook_ENTITY_TYPE_delete() for 'field_config'. image_field_config_update Implements hook_ENTITY_TYPE_update() for 'field_config'. image_field_storage_config_delete Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'. image_field_storage_config_update

image.install

Install, update and uninstall functions for the image module. File core/modules/image/image.install Functions Name Description image_install Implements hook_install(). image_requirements Implements hook_requirements() to check the PHP GD Library. image_uninstall Implements hook_uninstall().

image.html.twig

Default theme implementation of an image. Available variables: attributes: HTML attributes for the img tag. style_name: (optional) The name of the image style applied. See also template_preprocess_image() File core/modules/system/templates/image.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

image.field.inc

Implement an image field, based on the file module's file field. File core/modules/image/image.field.inc Functions Name Description template_preprocess_image_formatter Prepares variables for image formatter templates. template_preprocess_image_widget Prepares variables for image widget templates.

image.admin.inc

Administration pages for image settings. File core/modules/image/image.admin.inc Functions Name Description template_preprocess_image_anchor Prepares variables for image anchor templates. template_preprocess_image_style_preview Prepares variables for image style preview templates.

image-widget.html.twig

Default theme implementation for an image field widget. Available variables: attributes: HTML attributes for the containing element. data: Render elements of the image widget. See also template_preprocess_image_widget() File core/modules/image/templates/image-widget.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

image-style.html.twig

Default theme implementation for an image using a specific image style. Available variables: attributes: HTML attributes for the image, including the following: src: Full URL or relative path to the image file. class: One or more classes to be applied to the image. width: The width of the image (if known). height: The height of the image (if known). title: The title of the image. alt: The alternative text for the image. See also template_preprocess_image_style() File core/modules/im