add sse handling for image event
remove unneeded code