SharePoint Generate Thumbnail to Documents

 Thank you this blog


code:


                img = location.origin + 
                        '/_api/v2.0/sharePoint:' + 
                        (ctx.CurrentItem.Path.replace(location.origin, '')) + 
                        ':/driveItem/thumbnails/0/large/content?preferNoRedirect=true';

Comments

Popular posts from this blog

CPanel - WHM - change sending email via server to email Relay (email supplier SMTP) (mailgun)

OverTheWire[.com] Bandit Walkthrough - JUST HINT, NO SPOILERS

JS Link Tutorial, Sharepoint 2013