Topics

Function ipReflection()

ipReflection — Get a modified copy of original file in repository

Description:

string ipReflection ( string $file , array $options , [ string|null $desiredName ] , [ boolean $onDemand ] )

Get a modified copy of original file in repository

Package: ImpressPages

Parameters:

string $file filename relative to /file/repository directory. Full path will not work.
array $options image transformation options.
string|null $desiredName = null desired filename of modified copy. A number will be added if desired name is already taken.
boolean $onDemand = true transformation will be create on the fly when image accessed for the first time.

Return values:

string path to modified copy starting from website's root. Use ipFileUrl and ipFile functions to get full URL or full path to that file.
comments powered by Disqus