image_upload

Triggered on product image upload.

Shop-Script

Input (passed by reference)

$params waImage Image handling class instance.
… your plugin code …

Output

bool Flag denoting whether an image has been modified.

Shop-Script

Plugin code example

PHP

public function imageUpload($image)
{
    waLog::dump($image, 'shop/myplugin/image-upload.log');
}