English > Scripts and Templates

screenshots and cover size

(1/2) > >>

SVR:
Hi,


Based on the following code from the skin "pvd_classic_movie_tabs", i'm trying to modify the size of screenshots, frontcover and cdcover. Do wou get any idea what I should modify/add ??

Thanks in advance

 <tab>
   <caption>&amp;Images</caption>
   <color>$D7FDDD</color>   
   <row>
    <column>
    <fieldlabel field="screenshots" halign="center"/>
   </column>
   </row>
   <row>
    <column>   
    <screenshots>
     <border shape="none" />
    </screenshots>
   </column>
   </row>    
   
   <row>
   <column>
    <fieldlabel field="froncover" halign="center">
            
    </fieldlabel>
   </column>
   <column>
    <fieldlabel field="cdcover" halign="center">
            
    </fieldlabel>
   </column>
   </row>   
   
   <row>
   <column>
    <froncover height="160"/>      
   </column>
    <column>
    <cdcover height="160"/>      
   </column>
   </row>
  </tab>

Hyomil:
Change


--- Code: ---<screenshots>
--- End code ---

to something like


--- Code: ---<screenshots cheight="480" cwidth="1019">
--- End code ---

which creates thumbnails of a fixed size and requires the left pane to be resized so that the thumbnails will fit in the right pane or else they'll disappear (unless you're in Full Screen mode).  I use 1019 for width since my monitor resolution is at 1280x960.  Adjust to fit whatever you're using.  I've read every post I could find about this and tried many combinations, but it seems like this is the best that can be done until something like


--- Code: ---<poster autosize="true"/>
--- End code ---

that works for posters is implemented for screenshots.  Its a tradeoff.  With the 480 height I specified, DVD NTSC (not PAL, which is 576) resolution screenshots will be both displayed at full size and stacked neatly vertically with no vertical gaps between them.  VCD (240/288 height) resolution screenshots will be full size but separated by large gaps vertically.  HD resolution screenshots' thumbnails will not be as large as they could be.  Arbitrarily cropped photos found on the web will have one problem or the other.

As for the Front Cover and Disc Cover, I don't know.

SVR:
Thanks  :D it work for the screenshot ... for the covers it still a mystery

buah:

--- Quote from: SVR on February 01, 2010, 08:12:36 pm ---for the covers it still a mystery

--- End quote ---

And here's another one for whom this is still mystery. Any chance to auto-size and stretch images placed in Front Cover and CD Cover image placeholders? :-\

Hyomil:
Another thing I've noticed about this is that posters have sort of the opposite limitation as screenshots.  You can autosize the poster to the width of the column the poster is in, but according to the skin manual, you can't specify a maxheight like you can with labels.  So tall posters may be cut off by the bottom of the screen unless you set the width of the poster's column to a low percentage that will reduce normal-aspect-ratio posters to a smaller size than would otherwise be necessary.



[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

Go to full version