Page 1 of 1

How to access to the Image Preview panel

Posted: Thu Aug 08, 2024 8:53 am
by Lordy
Hi guys.

Recently I opened an image in Oxygen, and it was displayed in this panel. That's okay, but I was wondering if there is a way to access to that panel with the APIs and then change the title in the bottom.
example.png
I'm working with Oxygen Desktop 24.1

Thanks in advance.

Re: How to access to the Image Preview panel

Posted: Thu Aug 08, 2024 9:46 am
by Radu
Hi,

If you call this API "ro.sync.exml.workspace.api.Workspace.open(URL)" with the URL of an image, Oxygen should attempt to open the image in the Preview view.
There are no specific APIs to customize the Preview view. Of course, you could attempt to make your CMS Preview view, contribute a custom side view from a plugin but this might be some more work.

Regards,
Radu

Re: How to access to the Image Preview panel

Posted: Sat Aug 10, 2024 1:24 am
by Lordy
Hi Radu.
Yes, that solution sounds a little bit laborious.
Thanks for your response.