function ImageStylesHTTPHeadersTestCase::testImageStyleUrlAndPathPublicAndDownscale
Test image_style_url() with a file with public scheme and downscaling.
File
-
modules/
image/ image.test, line 2180
Class
- ImageStylesHTTPHeadersTestCase
- Tests for correct file size, dimensions and HTTP headers after scaling.
Code
public function testImageStyleUrlAndPathPublicAndDownscale() {
$width = 180;
$height = 120;
$this->_imagestyleUpscale($width, $height);
$this->_testImageStyleUrlAndPath('public', $width, $height);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.