Get all image from a folder in a Picture Library using Rest Api Sharpoint 2013
$.ajax({ method: 'GET', url: window.location.origin+_spPageContextInfo.webServerRelativeUrl+"/_api/Web/GetFolderByServerRelativeUrl('GSImages/" + ItemId + "')/files", headers: { "Accept": "application/json;odata=verbose" } }).success(function (d, s, h, c) { var result = d["d"]["results"]; if (result.length != 0) { $.each(result, function (i, j) { var imageParth = result[i]["ServerRelativeUrl"]; var imageText = result[i]["Title"]; var imageUrl = window.location.origin + imageParth; strHtml += '<li>'; ...