2008-04-30, 12:46 AM
I have had a couple of users ask why the PreviewImages display oddly in Picture Library so today decided it was time to have a look & see what was going on. By adding fixedAspectRatio="true" fixed one of the problems but I still get the odd display as shown in the screen captures. Below is my code from my skin, is this something wrong with my code or something with GBPVR??
<Placement name="FilmstripView" loc="22,55" size="25.5,45.5" columns="3" spacing="25.5"/>
<CompositeImage name="FilmstripViewNormalFolder" size="25,45">
<DrawCommonImage name="FilmstripViewNormalItemBackground"/>
<DrawImage filename="@folderPreviewImage" loc="5,1" size="90,90" fixedAspectRatio="true"/>
<DrawText text="@folderName" loc="0,74" size="100,26" textStyle="IconViewFolders" align="Center"/>
</CompositeImage>
<Placement name="FilmstripView" loc="22,55" size="25.5,45.5" columns="3" spacing="25.5"/>
<CompositeImage name="FilmstripViewNormalFolder" size="25,45">
<DrawCommonImage name="FilmstripViewNormalItemBackground"/>
<DrawImage filename="@folderPreviewImage" loc="5,1" size="90,90" fixedAspectRatio="true"/>
<DrawText text="@folderName" loc="0,74" size="100,26" textStyle="IconViewFolders" align="Center"/>
</CompositeImage>