+1-888-365-2779
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
    Registered:
    10 Mar 2016
    11 May
    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?
    Answered
  2. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    Registered:
    13 Aug 2007
    11 May 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