title: How to correctly extend an AEM out of box image component?
body: <p><a href="https://i.stack.imgur.com/PjweX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PjweX.png" alt="enter image description here"></a>I have a requirement of creating a custom image component.I need to add a new tab on image component.so, I overridden the cq:dialogue and using the out of box as a super type. OOB image component don't have a tab so I restructured the whole cq:dialogue into two different tab.one of them contain the OOB component nodes and the new tab contain some new functionality that I required.Everything is working fine expect the image preview.when I open the configuration tab and upload a image, initially the image preview is available but when I try to reconfigure it only the name of the image appears instead of the preview.Am I missing something?</p>
  
  <p>Thanks in advance  </p>