Hot answers tagged

7

If you want a super user to be able to change logos etc, or if the logo is specific to a site collection, place them in a subfolder in /Style Library/Images/. However often you dont want the layout files of your page, or your CSS for that matter, to be changed by end users. This is a good reason to place them somewhere in the v\TEMPLATE\LAYOUTSfolder. These ...


6

Image Web Part doesn't allow specifying usemap attribute, so I'd recommend using Script Editor webpart instead and deal with code. It's not difficult at all. E.g. simplest code for an image tag looks like this: <img src="http://site.com/path/to/your/image.png" /> In your case you should also add usemap attribute: <img src="http://site.com/path/...


5

First why the images are not appearing on the different machine, because they don't have permission on the Server Folder... The problem will be resolved by giving proper permissions... But this approach is wrong, you should not place the images to C:\SharePoint\Temp\ folder, instead there are following options: You can upload the images to one of the ...


5

You need to enable it on any server running the Foundation Web Application service. The path must be available on all servers with this service. I built a F/OSS solution to help with this -- https://blobcache.codeplex.com.


5

Try the below code in Script Editor Web Part <script> function openDialog(pageUrl) { var options = { url: pageUrl, title: 'Title of the Dialog', allowMaximize: false, showClose: true, width: 500, height: 500 }; SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options); } </script> <a href="#" onclick="openDialog('http://...


4

It is probably due to the fact that you already have a site content type in use that you want to add the column to that content type. You need to add a new content type and add it in place of the old one as described here. You also should be able to add it programmatically through C# (which can be translated to powershell) described here. SPSite ...


4

Useful link image compress that describes compressing images in image library. Following code will automatically compress image while uploading. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint; using Microsoft.SharePoint.Utilities; using System.Drawing; using System.IO; namespace ...


4

Previous post is correct, however maybe I can provide some more detail. You need to put an image called progress16.gif here: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\1033\IMAGES It doesn't matter where you get it from. I took one of the other "wait" GIFs from the hive and just made a copy of it and renamed ...


4

Open the site in SharePoint designer. There should be a folder or a document library with "images" as the URL component. Easiest way is to open the All Files folder from the SharePoint Designer which will give you the exact location. Certainly the image is stored in Content DB


4

SharePoint doesn't support HTML in calculated field since June 2017. So it's not working. You can use CSR using JSLINK for achieve your functionality. Please check this link for more detail.


3

If you add a column of type Person or Group, you get the option to add the column Name (with picture). If you check the fields feature in the 14 hive, there is a property on the Field definition called ShowField: <Field ID="{078B9DBA-EB8C-4ec5-BFDD-8D220A3FCC5D}" FieldRef="Editor" RowOrdinal="0" ReadOnly="TRUE" Type="...


3

In addition to those already mentioned, you can use Excel Services REST API to generate graphs that are then shown in you page. This is actually a surprisingly powerful feature that doesn't seem to get a lot of publicity.


3

You should have an edit link in the image rendition settings. If not, try using the direct link, and see what result you get. /_layouts/15/NewImageRenditionSettings.aspx?Id=1


3

If you mean to upload file from local folder to document library than follow this method Create an application page in Microsoft Visual Studio 2010, , as described in Creating Application Pages for SharePoint. Add an HtmlInputFile control, a text box, a button to the form, and an FormDigest control to the page. <form id="Form1" method="post" runat="...


3

First Add an img element to display Images <img id="imageRotator" > Now use below JavaScript function to get Images var arrayOfImageObjects = new Array(); var currentImageIndex = 0; function GetImagesAndRotate() { var url = "http://siteurl/_api/web/lists/getbytitle('ImageLibrary')/items?$expand=File" jQuery.ajax({ url: url, ...


3

You can achieve this functionality using Client Side Rendering. Below code show how to compare 2 columns and show image icon in the 3rd column based on the condition. (function () { var overrideCurrentContext = {}; overrideCurrentContext.Templates = {}; overrideCurrentContext.Templates.Fields = { 'Target_x0020_Status': { 'View': TargetStatus } }; ...


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

I assume that this question is related to your previous one In a Sharepoint List: Display an Image (field type "Hyperlink or Picture"). Yes, you can change size of image in Quick edit mode. It is similar to Column formatting in Modern experience. In classic experience (used in Quick edits) it is called Client Side Rendering (CSR). Setting CSR is little bit ...


3

SharePoint 2013/Online does not recognize .webp as an image file. As a result, none of the out-of-thebox image-related SharePoint features will work. This includes: image webparts, image rendition Image sliders Image size (width/height) population in the Assets library, etc. At the same time SharePoint will still serve .webp files as any other file that ...


2

I've managed to solve my problem. Apparently the ImageUrl property of the template element only works with relative URLs (and I was trying to set it to an absolute URL). <WebTemplate (...) ImageUrl="/_layouts/images/example.PNG" /> <!-- Works -->


2

Option 1 is Excel Web Part (Enterprise license) Option 2 is Charts Web Part (also Enterprise license) Option 3 are BI components: PowerPivot or PerformancePoint (Enterprise license) all other options are 3rd party tools.


2

You can use XSLT Select your fields for the Data View web part and select Url Path. Something like this will be added <img border="0" src="{@FileRef}" alt="{@FileRef}"/> Below code is used for an picture library’s auto-created thumbnail. You need to get the URL to the picture libary.This could be something like this concat(@FileDirRef,'/_t/', ...


2

I have seen this issue very recently as I am performing a rather large upgrade. I have looked into the Fiddler responses and they were not indicative so I downloaded the image and resaved it using Gimp (using all the default JPG settings). after uploading this new image the issue is fixed. I have successfully performed that remedy twice and I cannot ...


2

We've done a similar thing which was to generate various thumbnail image sizes within an event receiver; which is applied to the content type of the image. The resizing was done using fairly simple code. If you want to go down this route, please add a comment and I'll post some snippets from the code.


2

The missing image is the progress16.gif in the 15 hive. Just replaced it with a gif from ajaxload.info and solved my issue..


2

SharePoint place the images at following path C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES Hence you can refer the image as <img src="/_layouts/images/test.jpg" />. But, instead create a custom folder under IMAGES folder and change reference accordingly. The second path contains the language identifier ...


2

I think the forwardlinks property of an SPFile is what saves all of the info on where to update when this file changes: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.forwardlinks.aspx As far as how this property get's populated, I am unsure.


2

OOTB SharePoint hasn't this feature, btw you could use the RBS Implementation: http://technet.microsoft.com/en-us/library/ee748649.aspx or a solution from Avepoint or Metalogix


2

I couldn't find a way to do this with out of the box SharePoint so I wrote some jQuery to do the job: Create a file named image_link.js and add this to it: $(document).ready(function($) { $(".ms-rtestate-field img").each(function() { var link = $(this).attr("src") link = link.substring(0, link.indexOf('?')); $(this).wrap($('<a>',{ ...


2

photoshop file extentions are not supported within sharepoint as its a photoshop file. PSD files are complex full of layers, shadings ect and so the file is recognised by photoshop, hence why you cant preview the file! the only one i know of is this 3rd party that allows support of psd file extentions. http://www.finalcandidate.com/en/Pages/extractor10....


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