Set randomize to false to remove the random GET parameter at the end of the url.
public static imageUrl ( $width = 640, $height = 480, $category = null, $randomize = true, $word = null, $gray = false ) |
/** * @expectedException \InvalidArgumentException */ public function testUrlWithDimensionsAndBadCategory() { Image::imageUrl(800, 400, 'bullhonky'); }
/** * @expectedException \InvalidArgumentException */ public function testUrlWithDimensionsAndBadMaterialUnit() { Image::imageUrl(800, 400, 'bullhonky'); }