function ImageStylesHTTPHeadersTestCase::testImageStyleUrlAndPathPrivateAndDownscale

Test image_style_url() with a file with private scheme and downscaling.

File

modules/image/image.test, line 2140

Class

ImageStylesHTTPHeadersTestCase
Tests for correct file size, dimensions and HTTP headers after scaling.

Code

public function testImageStyleUrlAndPathPrivateAndDownscale() {
  $width = 180;
  $height = 120;
  $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.