Image Properties not working in Viewport?

20 views
Skip to first unread message

Mr. Cabels

unread,
Mar 11, 2020, 9:53:02 AM3/11/20
to Scroll Viewport Developers
Hey k15t,

I'm currently developing a custom Viewport theme and i've stumbled in a problem relating to the use of "Image properties".

In Confluence editor I can use "Image properties" to manipulate image (add borders, resize etc). These seem to very fine in the Confluence UI. In the UI I even have the ability to click on the image to open a window modal where the image is resized/zoomed. In Viewport side none of these functionalities is shown. So I was wondering, is "image properties" a module which I have to separately "import" in HTML documentation metatags, script tags or use the $page.resource.include("moduleKey")  method?
Or am I missing something else?

Thank you.

Steffen Burzlaff (K15t)

unread,
May 12, 2020, 3:41:42 AM5/12/20
to Scroll Viewport Developers
Hey,

thanks for reaching out and sorry for the late response.
Since Confluence transforms images with borders etc. to new images it's not possible with viewport to grab that information from Confluence.
What you could do is to create your own CSS style for your images and add a border, shadow or anything like that with CSS.

Let me know if that helps or if you need any more information.

Thanks and have a nice day.

Best Regards,
Steffen
Reply all
Reply to author
Forward
0 new messages