Correct deleting slider image after deleting article images
Change initFromResourceVar to initFromPath