View attachments in popup when using the editor widget

Discussion created by roemhildtg on Aug 12, 2013
Latest reply on Aug 13, 2013 by roemhildtg
Hello all,

I am using the default out of the box editor widget to edit and display data for an app. Attachments are by default opened in a new window. I would like a dialog box with the attachment ( which is images) to load via a ajax request.

Has anybody been able to get attachments, such an image to open in a popup of some type, while using the default editor widget?

My logic was to trigger an event handler that changes the link to the attachment, after the attribute inspector loads but I can't seem to find an event that is triggered during that time.

Am I going at this from the right approach, or would there be a better way to accomplish this with the default editor? I know you could probably write a custom widget to to do this, but I would prefer to stick with the functionality that the editor widget provides.