How to Centre images with various aspect ratios (1 Viewer)

mickyblue

Portal Pro
June 13, 2005
119
15
Brisbane Australia
Home Country
New Zealand New Zealand
Hi Guys

Im hoping one of the skinners can help me with something ive been making a few minor alterations to the mypics.xml of the monochrome skin and one problem im having is when i use the <keepaspectratio>yes</keepaspectratio> tag it then places all images from the top left of the X, Y coordinates, where as i would like to have it centered both vertically and horizontally within the frame i have, is there a tag i can use to achieve this or is this simply a limitation of the skinning engine

i have attached a couple of screen shots that show the problem im having

hope you can help

Mickyblue
 

Attachments

  • 1.PNG
    1.PNG
    530.5 KB
  • 2.PNG
    2.PNG
    519.1 KB

Users who are viewing this thread

Top Bottom