function ImageStylesHTTPHeadersTestCase::testImageStyleUrlAndPathPublicAndUpscale
Test image_style_url() with a file with public scheme and upscaling.
File
-
modules/
image/ image.test, line 2160
Class
- ImageStylesHTTPHeadersTestCase
- Tests for correct file size, dimensions and HTTP headers after scaling.
Code
public function testImageStyleUrlAndPathPublicAndUpscale() {
$width = 3600;
$height = 2400;
$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.