mardi 23 décembre 2014

How to display latest created image from a picture library in a page?



There's a page where i need to show the latest created/uploaded image from a picture library. I did the following URL to retrieve that information to me (in JSOM):


_api/web/lists/getbytitle('cardapios')/items?filter=&$top=1&$orderby=Created desc&$select=EncodedAbsUrl


Question: Now i need to display this image in my page(subsite). What's the best way to do it? Is there a simple way to call it? The page is empty, its only purpose is to show that image.




Currently i'm reading some materials at MSDN:


http://ift.tt/1sTPAhJ


http://ift.tt/OXLfMB


I've already searched in many articles, but i'm still not understanding the concept. If you know any material that mighty be good for me to study, please leave a comment as well.








0 commentaires:

Enregistrer un commentaire