Image view not working

Hello there,

I created a custom doctype and implemented Image View as on Items.

Unfortunately, the images are not displayed. On the Item itself, it does show on the left side.

Anyone had similar issues?

@ci2016,

Please check if the File documents are created for the item Hello and Bye, In Image list image list is fetched from File document

I had to create a file named mydoctype_list.js in the custom doctypes folder with the following content.

frappe.listview_settings['MyDocType'] = {
	add_fields: ["image"]
};

I hope it helps someone. Thank you for your help!

The post can be closed.

2 Likes