Support and General Use > Theming and Appearance Customization

Beginner issues: Album Art won't show on rudimentary wps

<< < (2/2)

AlexP:
So you want

%Cl|xpos|ypos|130|130|
%C

where xpos is the left limit and ypos is the top limit.

johnnyhaggis:

--- Quote from: BigBambi on February 23, 2008, 02:28:05 PM ---So you want

%Cl|xpos|ypos|130|130|
%C

where xpos is the left limit and ypos is the top limit.

--- End quote ---


Oh I think I see the problem then.  I need to define a %Cl position, then then I ALSO have to add a %C on the next line to tell it to show the image?  I was only putting one or the other.

So a %C by itself does nothing without a %cl line?

A few things that aren't clear to me:

What do you mean by the "limit"?
When I'm determining the xpos and ypos I'm defining the where the outermost corner or the image goes?  
Or am I determining where the center of the image goes.

So for example, let's say I have a 320X240 screen.  I want the image in the:
    lower right corner: my xpos is 320 and my ypos is 240?
    lower left corner: my xpos is 0 and my ypos is 240?
    top left corner: xpos is 0 and ypos is 0?

Is it necessary to define the size of the image?  Can't I just leave those blank tell it to go on the right center of the screen, and it'll just show the image as whatever size it actually is?

AlexP:
Yes, you need both %Cl and %C

By limit I mean position.  Yo are determining where the innermost position goes.

So If you have a 320x240 screen and you have 130x130 album art and you want it in the bottom left, you want xpos to be 320-130 = 190 and ypos = 240 - 130 = 110

therefore:

%Cl|190|110|130|130|
%C

johnnyhaggis:
Excellent - so it works, thank you!  However I still have one problem.

Here's my wps

%s%?it
%s%?ia
%s%?id %?iy


%pc/%pt
[%pp:%pe]
%pb

%Cl|150|50|170|170|
%C

The problem is that on the line where you have the %pc/%pt tags, there is a blank space on top of the album image, even though the time numbers are all the  way on the other side of the screen.

The [%pp:%pe] line doesn't cause a blank space over the album art, even though it's on the same line as it.

Why is that?  Does it have to do with the fact that the seconds are countring and changing?  Does that mean I absolutely have to put the counter on a different line?

AlexP:
At the moment, I believe so.  However the coming viewports will fix that by allowing you to define many smaller areas within the screen.

Navigation

[0] Message Index

[*] Previous page

Go to full version