Documentation

AddImageResizeHandler

bool
CBlogImage::AddImageResizeHandler(
 array arParams
);

The method registers the CBlogImage::ImageResizeHandler method as the main.file.input.upload event. Parameters retrieved by this method will be passed to the event handler when called. Static method.

Method parameters

ParameterDescription
arParams Array of parameters, which will be passed to the event handler.

Examples of use

CBlogImage::AddImageResizeHandler(array("width" => 400, "height" => 400));


© «Bitrix24», 2001-2024
Up