apply patches for image wysiwig