Support and General Use > Theming and Appearance Customization
Viewports: images on WPS are not being displayed
linuxstb:
My advice would be to split your WPS into a set (you can have up to 15) non-overlapping viewports, and draw all the different elements of your WPS into those viewports.
Everything before the first %V line is drawn in a default full-screen viewport - but this is mainly for backwards compatibility - for new WPSs I would suggest not using the default.
And remember that all items (including images displayed with %xd) are drawn on the screen relative to the viewport they are contained in - so the co-ordinates you give the image with %xl must be relative to the viewport, not relative to the top-left corner of the screen. This seems to be the most common mistake.
And to answer bzavala's question, yes, I would put albumart in its own viewport.
bzavala:
great... using multiple viewports for each section works fine; this fixed the blank lines over the album art.
I ended up using 13 viewports but it worked. I know the limit is 15.
Thanks linuxtb!
Navigation
[0] Message Index
[*] Previous page
Go to full version