Kodi Community Forum
[HELP]Thumbnail aspect ratios - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: [HELP]Thumbnail aspect ratios (/showthread.php?tid=46290)



[HELP]Thumbnail aspect ratios - ekim232 - 2009-03-02

I am using pm3.hd and when I scroll through my list of movies in fanart view I get a lot of the movie thumbnail icons varying in height and width. Is there a way to have them all auto fitted to a certain size so that the images stay at a constant rather than jumping around based on the height or width of the actual image?

I am guessing by looking at the code from other views that I should have something different in the <aspectratio>. Most views seem to use <aspectratio>stretch</aspectratio> rather than <aspectratio align="right" aligny="bottom">keep</aspectratio>, which is currently used for fanart view.

Any insight would be greatly appreciated.


- jmarshall - 2009-03-02

keep == keep the aspect ratio.

stretch == stretch to the box size.

You also have scale == scale up + crop so it fits the box, and center == don't scale at all and (possibly) crop, or have borders.

Cheers,
Jonathan


- ekim232 - 2009-03-02

Thanks for the help. I got it the way I want it now.