Ok, this might sound like a simple/dumb question but i can't seem to find any reference to what i am trying to do...
Basically what i need to do is get the URL on an image in the library...
I know how to get the library and list of images in the library:
|ILibrary theLibrary = this.Manager.GetLibrary("Destination Deals (Thumbnails)");
|IList listOfImages = this.Manager.GetContent(0, 0, "Publication_Date DESC", theLibrary.ID);
I even know how to loop through this list and get the Url of each image in the Library:
|foreach (IContent CurrentLibraryItem in listOfImages)
| string ImageUrl = this.ResolveUrl(String.Concat(CurrentLibraryItem.Url, this.Manager.Provider.ContentExtension));
But i do not want to have to loop through the whole library just to get the url of the image i need... I nfact i even know what the image is called in the library i just need to check if it exists there and if it does return the Url for the image
... without having to loop through the whole library...
If any of that makes sense to anyone, please could you post me some code to do this...