LPS-34508 Won't reset the elcontent when publish a web content without an image uploaded in the structure

Also we need to remove the existing image in case dirty data was stored in the data folder.