# \IZON\Thumber\ImageImageUrlBuilder

ImageUrlBuilder

## Summary

Methods
Properties
Constants
setPath()
buildUrl()
fromArray()
No public properties found
No constants found
getImageLocationString()
$path
N/A
No private methods found
No private properties found
N/A

File
  Image/ImageUrlBuilder.php
Package
  Default
Class hierarchy
  \IZON\Thumber\Image\ImageUrlBuilder
Implements
  \IZON\Thumber\Image\IImageUrlBuilder

## Tags

author | Aleš Kopecký kopecky@izon.cz

## Properties

### $path

    $path : string

#### Type

string

#

## Tags

None found

## Methods

### setPath()

    setPath(string  $path)

Sets path to image lazy controller.

#### Parameters

string | $path |

#

## Tags

None found

### buildUrl()

    buildUrl(\IZON\Thumber\ImageConfiguration\IImageConfiguration  $config) : string

Create URL to controller with params.

#### Parameters

\IZON\Thumber\ImageConfiguration\IImageConfiguration | $config |

#### Returns

string

#

## Tags

None found

### fromArray()

    fromArray(array  $params) : \IZON\Thumber\ImageConfiguration\IImageConfiguration

Creates image config from parameters in given array.

#### Parameters

array | $params |

#### Returns

\IZON\Thumber\ImageConfiguration\IImageConfiguration

#

static

## Tags

None found

### getImageLocationString()

    getImageLocationString(\IZON\IO\Image  $image) : string

Gets image location after www folder.

To prevent displaying file system path in URLs on web.

#### Parameters

\IZON\IO\Image | $image |

#### Returns

string

#

## Tags

None found

### ImageUrlBuilder.php