Class LegacyProductImageProcessing
Class LegacyProductImageProcessing
-
LegacyProductImageProcessing
implements
ProductImageProcessingInterface
Methods summary
protected
_defineNeededConstantsForIncludes( void )
Define Needed Constants for Includes
Define Needed Constants for Includes
These constants are needed for the include files. The global constants defined in admin/includes/configure.php
are not available, because the current file is within in the src/includes folder and thus, is using the
src/includes/configure.php, in which those constants are either not defined or not correct for this
class.
protected
_isGdLibraryInstalled( void )
: boolean
Is GD Library Installed
Checks if the GD library is installed, which is necessary for the image processing.
Returns true if the library is installed.
Returns
boolean
Is the PHP GD library installed?
protected
_throwExceptionIfImageDoesNotExist( $image )
Throw Exception If Image Does Not Exist
Throw Exception If Image Does Not Exist
Checks if the image exist in the folder original_images.
If the image does not exist, an exception will be thrown.
Parameters
Throws