Support and General Use > Theming and Appearance Customization
Viewports: images on WPS are not being displayed
bzavala:
Hi all...
I just took today's SVN. Since viewports for WPS has been commited, I decided to try a WPS theme I'm working on right now, using viewports.
All the lines are being displayed fine. My album art is displaying fine, but the battery level, volume levels, play/pause and all other icons, are not being displayed.
I read somewhere that there is a limit on the amount of images and amount of size that is loaded, so I limited it to only 5 small images (play, pause, rewind, foward, hard drive activity) but still, with only these 5 images, I am unable to display them at all.
Has anybody been successful in creating/porting a theme to use viewports? It must have been a recent changed that I missed, since I was able to make it work a couple of weeks ago when there was a thread on the unsupported builds forum.
Thanks in advance,
Ben
Llorean:
Which revision is your build?
linuxstb:
As Llorean implied, please make sure you're running the very latest current build - there have been a few bugfixes committed related to viewports.
If you still have the problem, can you attach your .wps file?
Hweb21:
I had this problem too. I fixed it by puting all my image code and image conditions before the viewport code(I usally put them at the end).
--- Code: ---%wd
%X|bground.bmp|
%P|pbar.bmp|
%xl|a|batt0.bmp|125|7|
%xl|b|batt1.bmp|125|7|
%xl|c|batt2.bmp|125|7|
%xl|d|batt3.bmp|125|7|
%xl|e|batt4.bmp|125|7|
%xl|f|play.bmp|11|8|
%xl|g|pause.bmp|11|8|
%xl|h|vol0.bmp|50|111|
%xl|i|vol1.bmp|50|111|
%xl|j|vol2.bmp|50|111|
%xl|k|vol3.bmp|50|111|
%xl|l|vol4.bmp|50|111|
%xl|m|vol5.bmp|50|111|
%xl|n|vol6.bmp|50|111|
%xl|o|vol7.bmp|50|111|
%xl|J|norep.bmp|11|114|
%xl|K|rep.bmp|11|114|
%xl|L|rep1.bmp|11|114|
%xl|M|repS.bmp|11|114|
%xl|N|repAB.bmp|11|114|
%xl|O|shuff.bmp|11|114|
%xl|I|hdd.bmp|37|114|
%?bl
%?pv
%?mp
%?ps
%?lh
%pb|2|10|150|80|
%V|50|5|60|12|1|B8B8B8|000000|
%ac%pc/%pt
%V|11|25|136|73|1|B8B8B8|000000|
%al%s%?C
%al%s%?C
%al%s%?C
%al%s%?C%ar%pp/%pe
%Cl|0|0|sc50|sc50|
%?C
%V|24|87|124|12|1|B8B8B8|000000|
%al%s%?Ia - %?It
%V|81|112|23|12|1|B8B8B8|000000|
%ar%pv
%V|105|112|46|12|1|B8B8B8|000000|
%ar%cl:%cM
--- End code ---
bzavala:
I am using r16796-080325 and the issue still happens.
I did what Hweb21 suggested and I put all the images before the viewports and that fixed it. So thanks!!
I am having another issue now: I am getting white lines over the album art.. it might be because I am placing viewports to the left of the album art image. I'll play around with it and report any issue I find.
Thanks again all!
Ben
EDIT: Now that I think about it... is a viewport necessary for the albumart itself?
Navigation
[0] Message Index
[#] Next page
Go to full version