Made accommodation for svg-edit images in php/util.php.