public function remapCanvasImagePaths($html)
{
preg_match_all('/<img src="\\/.*?\\/default\\/eventImage\\?event_id=[0-9]+&image_name=(.*?)"/', $html, $m);
foreach ($m[0] as $i => $img) {
$html = str_replace($img, "<img src=\"{$this->canvas_image_path}/{$m[1][$i]}.png\"", $html);
}
return $html;
}