Fix delete image without Thruk theme enabled