added feature for disable image in frontend