Image Library

Dec 19, 2011 at 6:38 PM

Hello,

  Is there a way to get an image from an image library and display the image?

 

Thanks

Coordinator
Dec 19, 2011 at 6:39 PM

Sure. An image library is just a list like any other, so you can use GetListItems to retreive information from it.

M.

Dec 19, 2011 at 6:41 PM

Hi sympmarc,

 

Is there any particular way I need in order to display the Image?

Coordinator
Dec 19, 2011 at 6:43 PM

It depends on how you want to display it. You can add the image into the DOM anywhere you'd like by inserting an <img> tag with the src attribute set properly, pointing to the URL of the image in the Image Library..

M.

Dec 19, 2011 at 6:48 PM
Edited Dec 20, 2011 at 2:05 PM

Thanks