Sidebar hiding without remove image field

Hai everyone, How to remove Sidebar without skipping the image field in Frappe.Please help me with this

Hi @AAnjusha,

Which sidebar?

Can you explain? and please, share the image of the sidebar.

i want to hide this sidebar without the image field

Hi @AAnjusha,

Please apply the client/custom script.

frappe.ui.form.on('Your_DocType', {
	refresh(frm) {

Then reload and check it, please.

Thank You!


it’s working Thank you!!