[Skin] Determine the Image Dimensions (1 Viewer)

Dadeo

Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    There are many posts about the problem displaying images nicely in a skin when they can be of varying sizes and shapes.

    Is it not possible for MP to check the Windows properties for dimensions and simply determine if the image is portrait or landscape? Then skinners could use some conditional visibility code to display images one way if landscape and another if portrait.

    I know this is far from perfect, but it could be a help! At least we could design different size boxes/frames for the images that would result in less distortion (or shrinking when using keepaspectratio)

    Actually, I am sure our brilliant developers can figure out a better way than this!
     

    Users who are viewing this thread

    Top Bottom