Skip to main content
edited
Source Link
Amal Hashim
  • 28.4k
  • 5
  • 32
  • 61

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_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://msdn.microsoft.com/en-us/library/office/fp142380%28v=office.15%29.aspx#bk_how

http://msdn.microsoft.com/en-us/library/office/jj164022(v=office.15).aspx

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

Thanks in advance.

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://msdn.microsoft.com/en-us/library/office/fp142380%28v=office.15%29.aspx#bk_how

http://msdn.microsoft.com/en-us/library/office/jj164022(v=office.15).aspx

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

Thanks in advance.

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://msdn.microsoft.com/en-us/library/office/fp142380%28v=office.15%29.aspx#bk_how

http://msdn.microsoft.com/en-us/library/office/jj164022(v=office.15).aspx

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.

Source Link

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://msdn.microsoft.com/en-us/library/office/fp142380%28v=office.15%29.aspx#bk_how

http://msdn.microsoft.com/en-us/library/office/jj164022(v=office.15).aspx

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

Thanks in advance.