Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
image.inc
»
image_get_info
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
16 calls to image_get_info()
file_validate_image_resolution
in drupal/
core/
modules/
file/
file.module
Verifies that image dimensions are within the specified maximum and minimum.
file_validate_is_image
in drupal/
core/
modules/
file/
file.module
Checks that the file is recognized by
image_get_info
() as an image.
hook_file_download
in drupal/
core/
modules/
system/
system.api.php
Control access to private file downloads and specify HTTP headers.
hook_prepare
in drupal/
core/
modules/
node/
node.api.php
Act on a node object about to be shown on the add/edit form.
ImageDimensionsTest::testImageDimensions
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageDimensionsTest.php
Test styled image dimensions cumulatively.
ImageFieldValidateTest::testResolution
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageFieldValidateTest.php
Test min/max resolution settings.
ImageItemTest::testImageItem
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageItemTest.php
Tests using entity fields of the image field type.
ImageStylesPathAndUrlTest::_testImageStyleUrlAndPath
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageStylesPathAndUrlTest.php
Tests
image_style_url
().
image_field_presave
in drupal/
core/
modules/
image/
image.field.inc
Implements
hook_field_presave
().
image_field_widget_process
in drupal/
core/
modules/
image/
image.field.inc
An element #process callback for the image_image field type.
image_file_download
in drupal/
core/
modules/
image/
image.module
Implements
hook_file_download
().
image_load
in drupal/
core/
includes/
image.inc
Loads an image file and returns an image object.
image_save
in drupal/
core/
includes/
image.inc
Closes the image and saves the changes to a file.
theme_image_style_preview
in drupal/
core/
modules/
image/
image.admin.inc
Returns HTML for a preview of an image style.
ToolkitTestBase::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Image/
ToolkitTestBase.php
Sets up a Drupal site for running functional and integration tests.
ValidatorTest::testFileValidateImageResolution
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
ValidatorTest.php
This ensures the resolution of a specific file is within bounds. The image will be resized if it's too large.