Article
0 comment

Easy way to remove background from images for use in SharePoint

In the recent blog post, I showed why it is useful to have specific images without a background as a PNP. What if you have pictures, but those images have a background attached, and you like to get rid of this background?

Well, you can ask one from the marketing team to probably do the job for you. There is an easy way that every user can do. The only tool you need is PowerPoint, Word, Excel or any other Office application.

[Read more]

Article
0 comment

The power of transparent images in SharePoint – Modern experience

I case you are working with photos; it is obvious to have these pictures full-sized in your SharePoint. Sometimes it makes sense to handle images that should land, for example, on a communication site with a little bit more care. Especially when you are dealing not with photos but with illustrations.

Sometimes you don’t like to have a background on your images. Let me show you why.

[Read more]

Article
0 comment

this.domElement is your new document object in SPFx web parts development

You are familiar with the JavaScript method like ‘document.getElementByID’. Since HTML5 the Document Object Model has more to offer than return an element by its ID on a document.

Use this.document instead of document

Use this.document instead of document

I case of web part development you should forget that the document object inside and HTML exists instead you should request HTML elements differently.

[Read more]