ImageProcessingService

Implements \ImageProcessingServiceInterface

Class ImageProcessingService

category

System

package

ImageProcessing

subpackage

Services

Methods

ImageProcessingService constructor.

__construct() 

Creates images in different sizes of given filename.

createImages(string $imageFilename, boolean $skipExistingImages = false) : boolean

Arguments

$imageFilename

string

filename without path

$skipExistingImages

boolean

only create missing images

Response

boolean

Returns true, if no error occurred.

Creates popup, info, thumbnail and gallery images of given original image file if they are missing.

createMissingImages(\ExistingFile $originalImageFilePath) : boolean

Arguments

$originalImageFilePath

\ExistingFile

Response

boolean

if image processed successfully.

Checks if trrigger for recreation of all images is set.

isTriggerSet() : boolean
static

Response

boolean

Creates popup, info, thumbnail and gallery images of given original image.

recreateAllImages(\ExistingFile $originalImageFilePath) : boolean

Arguments

$originalImageFilePath

\ExistingFile

Response

boolean

if image processed successfully.

Removes the trigger for recreation of all image files.

removeTrigger() : void
static

Sets trigger for recreation of all image files.

setTrigger() : void
static