Author Topic: Skinning - Displaying Multiple Posters  (Read 6582 times)

0 Members and 1 Guest are viewing this topic.

Offline street_samurai

  • Member
  • *
  • Posts: 6
    • View Profile
Skinning - Displaying Multiple Posters
« on: January 22, 2013, 09:35:48 pm »
Hi All,

Looove PVD. Thanks for all the great work programmers and community!

I use 1.0.2.3 and the pvd_classic_movie skin. My need is fairly basic (i think): I have 6 poster images for each of my movies and instead of displaying one at a time (with a control), I'd like to display all of them in a row near the top of the skin (without the control).

I removed the control from the xml file but can't figure out how show more than one poster at a time. I've searched the forums and read the docs but still can't figure it out.

Any help or direction would be great!

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Skinning - Displaying Multiple Posters
« Reply #1 on: January 23, 2013, 03:53:04 am »
The following shows control and an imagelist placed under (i.e., in the same column as) a poster, to show thumbnails of additional posters. That's not what you want, but shows the use of imagelist. I suppose you would set the height and width higher, and put it in a column wide enough to display six in a row. Poster and the controls would still have to exist, but could be made small and placed elsewhere.

Code: [Select]
<row>
<column>
   <poster autosize="true" stretch="true"/>
   </column>
   </row>
<row>
<column halign="left" imgctrlcol="true" width="50">
   <prevposterbtn/>
   <nextposterbtn/>
   <addposterbtn/>
</column>
<column>
   <imagelist valign="top" halign="left" cheight="100" cwidth="75" autosize="true" space="10">
   <border shape="none"/>
   <color>$CCDDEE</color>
   </imagelist>
</column>
</row>

An alternative would be to use the screenshots container...

Code: [Select]
<section>
   <color>$000000</color>
<row>
<column>
<screenshots cheight="450" autosize="true">
   <border shape="none"/>
   </screenshots>
   </column>
 </row>
 </section>

Offline street_samurai

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Skinning - Displaying Multiple Posters
« Reply #2 on: January 23, 2013, 09:10:59 am »
Thanks so much for the help. Got it all working and looking great!

I ended up keeping the main poster area and adding a new section below it that displayed the rest of the posters by adding the following (just a slight tweak of your code):

Code: [Select]
  <section>
     <color>$FFFAEC</color>
  <row>
  <column width="100%" halign="left">
<imagelist valign="top" halign="center" cheight="250" cwidth="450" autosize="true" space="5">
<border shape="none" />
</imagelist>
  </column>
  </row>
   </section>

I'm using automatically created screenshots so didn't want to mess with that area.

Thanks again!

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Skinning - Displaying Multiple Posters
« Reply #3 on: January 24, 2013, 12:26:54 am »
Quote
Thanks again!

You're welcome. And welcome to the Joy of Skinning. It took me so long to get mine 'right', I haven't dared touch it in a few years. ;)