Scaling Widget Background Image Based on Widget Size/User Resolution Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    Scaling Widget Background Image Based on Widget Size/User Resolution

    avatar
    Alaskamo
    New Member


    Posts : 10
    Reputation : 1
    Language : English

    Solved Scaling Widget Background Image Based on Widget Size/User Resolution

    Post by Alaskamo December 23rd 2013, 1:19 am

    Nevermind, of course I find it just after posting haha

    For any who are looking for this in the future... this helped me!


    I'm trying to put together a small widget that would essentially hold a single image. The widget's column's width is set to 85% of the page.  Is there a way I can have the image be scaled based on what the width of the widget is on any given user's screen is?

    For example, on User A's screen the widget is 1000px wide so the image is scaled so that it is (1000 x Y), and on User B's screen the widget is 850px wide so the image is scaled on User B's screen to be (850 x Y).

    Thanks for any help! Smile
    Jophy
    Jophy
    ForumGuru


    Male Posts : 17924
    Reputation : 836
    Language : English
    Location : Somewhere

    Solved Re: Scaling Widget Background Image Based on Widget Size/User Resolution

    Post by Jophy December 23rd 2013, 5:27 am

    Since this topic was marked solved, this topic is moved.

    Thank you for sharing the answer. Wink