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