16

For displaying pictures in Slideshow web part, web images (stored under /_w folder in Picture Library) are used and not the original images. Unfortunately it is not supported to configure in web part what image type (original, web or thumbnail) should be displayed in Slideshow. The solution described below allows to display original images (without re-...


11

Convert absolute URL into server-relative URL and use SP.Web.getFileByServerRelativeUrl Method to return file object located at the specified server-relative URL as demonstrated below: function getFileProperties(url,success,error) { var ctx = SP.ClientContext.get_current(); var relUrl = url.replace(_spPageContextInfo.siteAbsoluteUrl,''); //convert ...


6

Unfortunately it is not supported to configure in web part what image type (original, web or thumbnail) should be displayed in Picture Library Slideshow Web Part, but you could try to customize the rendering of slideshow using the following approach. The solution described below allows to display original (full-sized) images in Slideshow web part. Step ...


6

It seems SharePoint generates thumbnail file name using the following format: thumbnailUrl = <filename>_<fileextension>.jpg Based on that, the following REST endpoint shows to get thumbnail file content: /_api/web/getfilebyserverrelativeurl('{thumbnailUrl}')/$value Example var webUrl = "https://tenant.sharepoint.com"; var fileUrl = "/...


5

Full Image url is available in property EncodedAbsUrl You can change the webpart property and set this.


5

PowerShell to create Sharepoint Picture Library: ############################################################################################################################################ #Script that allows to create a new list in a SharePoint Online Site # Required Parameters: # -> $sUserName: User Name to connect to the SharePoint Online Site ...


5

I have faced this issue too. There was problem with Pictures library this month due to updates by MS. Check service messages in admin center below are details. It says service restored but there are still issues reported by people. SP101452 - Picture Library Slideshow not displaying images Status:Service restored User impact:Users may have been unable to ...


4

using (SPSite site = new SPSite(<siteUrl>) { using (SPWeb web = site.OpenWeb()) { SPList list = web.GetList(<imageUrl>); SPListTemplateType templateType = list.BaseTemplate; int templateTypeInt = (int) templateType; } }


4

It's the way SharePoint works, it only lets you add some specific columns(can't really remember which ones at the moment) as look-up columns, I had same issue few years ago, only solution I could find it that add a item adding event receiver and change Title column to file's name. There is no other way around I ever came across. Similar post: Lookup ...


4

What you're asking is a bit complex to implement, but it's possible. You need to use AssetPickerDialog to get the same behavior as what you've mentioned, to pick up the image from library. I've implemented AssetPicker once, but that's for a different implementation, kind of searching entity from custom database. And that AssetPicker was triggered from a ...


4

Update your code as below SPPictureLibrary pics = (SPPictureLibrary)web.Lists[documentLibraryName]; SPFile file = pics.RootFolder.Files.Add((string) imageId + ".jpg", converttobyte, true); SPListItem item = file.Item; item["Title"] = "First title "; item["Description"] = "Test Description is " ; item.Update(); The issue in your code is that you are trying ...


4

If you are importing the User's picture from the AD, a full sync will fix it. Basically User Profile Pictures stored in the User Photos/Profile Pictures folder on the root of mysite host url. Url will be like this " http://Mysite url/User Photos/Profile Pictures" In this folder, you will be 3 sizes of a sing users. If you have backup of your site, then ...


3

How Picture Library Slideshow web part works Picture items are retrieved via SPQuery from Picture Library and results are saved in internal array of ImageInfo entries public struct ImageInfo { public int width; public int height; public string src; public string fullImageSrc; public string title; public string ...


3

Unfortunately the answer is no, there is no possibility to specify the relative Url for Picture Library. Picture Library Slideshow web part exposes the following properties to query pictures from Picture Library: LibraryGuid - unique identifier (GUID) of the picture library ViewGuid - GUID of the list view in the picture library. These web part ...


3

Activate the "Team Collaboration Lists" site feature on the site. You can do so by going to Site Settings > Manage Site Features (under the Site Actions section).


3

The difference is same as of a Folder in Windows.. If you are placing all the images in a folder, the view gets different and it uses Thumbnails view.. The same is for Picture Libary/Images App in SharePoint.. It will give you thumbnail view of the images.. Picture Library is actually an enhancement to the Document Library.. Also one of the important usage ...


3

This can be definitely possible while using asset dialog provided OOTB in SharePoint. This dialog uses AssetPickers.js file present in _layouts/15 directory of SharePoint server. I found one blog and try it on my side by creating visual webpart and make the file selector as one of its properties. Link of Blog:-http://fahadzia.com/blog/2009/11/using-...


3

Instead of SPList you should use SPPictureLibrary. I mean SPList picLibCity = (SPPictureLibrary) spWeb.Lists["City"]; And instead of ImageURL, you should use ServerUrl. I mean foreach (var row in EmpList) { if (row.City!= null) { string group = row.city; SPItem lookupItem = picLibCity.GetItemById(group.LookupId); string ...


3

Add-PSSnapin "Microsoft.SharePoint.PowerShell" Start-SPAssignment -Global $SPWeb = Get-SPWeb -Identity $Web $listTemplate = $SPWeb.ListTemplates["Picture Library"] $SPWeb.Lists.Add($ListUrl,$Description,$listTemplate) $list = $SPWeb.Lists[$ListUrl] $list.Title = $ListTitle $list.Update() $SPWeb.Dispose() Stop-SPAssignment -Global


3

$clientContext = New-Object Microsoft.SharePoint.Client.ClientContext($url) $credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $securePassword) $clientContext.Credentials = $credentials if (!$clientContext.ServerObjectIsNull.Value) { Write-Host "Connected to SharePoint Online site: '$Url'" -ForegroundColor ...


3

Slide libraries have been deprecated in SharePoint 2013. Use this alternate way to get the slide libraries working in SP 2013 http://techtrainingnotes.blogspot.com/2012/11/finding-missing-sharepoint-2013-slide.html The Slide Library is not listed as an "App" or displayed in the old Create.aspx page (_layouts/create.aspx). But… you can still get it ...


3

Below are the few differences between Picture Library and Asset Library. A Picture library can only contain Pictures and not Video and Audio files.An Asset library can contain all of these. Picture library have slideshow view of pictures Also, when you move your pointer over an asset in the Thumbnails view, a preview window displays a larger version of the ...


3

One option is to use JSLink to populate the image Url. Create a column called "ImageUrl" and use below script to populate the field value. (function () { var imageUrlFiledTemplateContext = {}; imageUrlFiledTemplateContext.Templates = {}; imageUrlFiledTemplateContext.Templates.Fields = { 'ImageUrl': { 'View': ImageUrlFiledTemplate } }; ...


3

Few list templates are not available in communication site template. You can enable 'Team Collaboration Lists' in site features to get the picture library templates installed. Navigate to the https://yoursite/_layouts/15/ManageFeatures.aspx and activate the the feature.


2

Basically, there isn't no limit on the picture library size. It will depend on the overall limit of the site collection(SC). If you are using SharePoint Online, then SC limit could be up to 25TB. However, you would need to consider the threshold of 5000 and the sync limit. More details here: https://support.office.com/en-gb/article/SharePoint-Online-...


2

There is no feature to export a picture library out of the box but you can develop a custom feature in VS 2010 and achieve this. Have a look: http://mctalex.blogspot.in/2009/04/adding-export-to-spreadsheet-to-picture.html


2

You can drag and drop multiple Files (pictures or documents) in SharePoint 2013.


2

The only way I know is write a javascript customization to change the shrinks option. You could use something like this: $(document).ready(function() { var divList = $("div[id^='MSOPictureLibrarySlideshowWebPart']"); var currImage= $("img[id$='curr']"); divList.height('100%'); divList.width('100%'); currImage.height('...


2

Well I can understand your query my friend, its very simple to do this, create a new view and modify the Style Category to "Basic Table" and set this view as default view. You will get what you are looking for .Cheers.


2

Prerequisite for Image Renditions are: Publishing site collection (or publishing feature enabled) A configured BLOB cache An Asset Library (recommended) From your description, I can't read that publishing feature is enabled. Enable publishing features to get image renditions to work.


Only top voted, non community-wiki answers of a minimum length are eligible