More in this section

Forums / Developing with Sitefinity / How to get url of all images in library WITHOUT loading content

How to get url of all images in library WITHOUT loading content

2 posts, 0 answered
  1. Schneider
    Schneider avatar
    29 posts
    Registered:
    02 Nov 2008
    05 Dec 2008
    Link to this post
    Hi,

    I am building a REST web service for sitefinity and trying to build one to retrieve the URL of the images in a library.

    The problem is when I used LibraryManager.GetImages, or ILibrary.GetContent it appears the frigging system loads the "content" (i.e. the binary image data) into the Content field.

    I do not want this as it is a waste of resources.

    How do I get all the info about the images without having to load the image??

    Thanks,
    Jack
  2. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    08 Dec 2008
    Link to this post
    Hi Schneider,

    we have recently discovered this problem and it has already been fixed. Unfortunately there is no workaround that I can suggest you at this moment. The fix will be released in Sitefinity 3.6 due to be released in January 2009.

    I am sorry that I was not able to help you more at this moment.

    Greetings,
    Ivan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered