+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / How to access Sitefinity Images from a different application

How to access Sitefinity Images from a different application

5 posts, 1 answered
  1. Nagendra
    Nagendra avatar
    28 posts
    Registered:
    07 Jun 2010
    28 Sep 2010
    Link to this post
    Hello All,

    I am using Sitefinity 3.7 and have created a web service to retrieve the data of Sitefinity and use the same in my business web site. Using my web service, I am able to access the documents from Sitefinity.

    Now I wanted to access the images stored in Images Library and show the same image in my another business web site.

    Can anyone tell me how I can get the URL of a jpg image stored in my Sitefinity CMS so that I can provide this for the Image control present in my business web site.

    It is very imp for my web development. Hence please tell me this.

    Thanks,
    Nagen


  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    28 Sep 2010
    Link to this post
    Hi Nagendra,

    Thank you for using our services. When you get the list of content items in your webservice each IContent item has the property UrlWithExtension which will give you a relative url to your image. You should then construct an absolute url from the relative one and return it through the service.


    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Nagendra
    Nagendra avatar
    28 posts
    Registered:
    07 Jun 2010
    28 Sep 2010
    Link to this post
    Thanks for that reply. It worked for me.
  4. Yohanis
    Yohanis avatar
    2 posts
    Registered:
    23 May 2011
    29 Jul 2011
    Link to this post
    Hi Support,

    I have similar requirement where I need to access images from the CMS Image Library and display in a page. Can you please give me sample code to start with.

    I appreciate your help

    Yohannes
  5. Yohanis
    Yohanis avatar
    2 posts
    Registered:
    23 May 2011
    01 Aug 2011
    Link to this post
    Hi Nagendra,

    I have similar requirement where I need to access images from the CMS Image Library and display in a page. Can you please give me sample code to start with.

    I appreciate your help

    Yohanis
Register for webinar
5 posts, 1 answered