I want to know how to insert a photo field to any section's edit page as below the attached screenshot. I have tried like added a column with Image data type from the advanced settings. But, I didn't get that. Anyone, please provide your valuable guidance on this.
Like
I have checked ProductPageV2.js file. But, I didn't see any example over there. Can you please provide your assistance.
Nagamani Dangeti,
You can use Chrome debugging tools to inspect the page. There is a System setting 'IsDebug' - make sure it is set to true on your development instance - JS files will not be minified then.
Here it is added in diff - https://prnt.sc/r7ekl0. Take a look at the methods that it is using,
getPhotoSrcMethod
onPhotoChange
beforePhotoFileSelected
https://prnt.sc/r7elwj
You would need them on your page as well.
Regards,
Dmytro