Try Now
More in this section

Forums / Designing & Styling / Customize image for screen resolution

Customize image for screen resolution

2 posts, 1 answered
  1. Jonathan
    Jonathan avatar
    4 posts
    10 Mar 2016
    11 May 2016
    Link to this post
    I am hoping to serve up a different version of an image based on the resolution of the device visiting a page, for example using a 2x image on a 2x display. Is this possible in Sitefinity? If so, can anyone share how?
  2. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    13 Aug 2007
    11 May 2016 in reply to Jonathan
    Link to this post
    Hey Johanthan,

    Sitefinity posted a tutorial for this, you can find it here: http://docs.sitefinity.com/tutorial-create-a-custom-widget-to-display-responsive-images or grab the code directly from the SDK.
2 posts, 1 answered