Noticeboard image downsizing issue
Issue:
In LiveTiles Enterprise Intranet (Wizdom) in SPO, when users upload an image into a new story using the Noticeboard part in modern it automatically downsizes the image, regardless of the original format size. Users have had to upload larger images as a workaround so that once downsized, it is the desired size. Is there a way to disable this auto-downsize function?
Answer:
The original image is always saved in the BLOB folder on the Azure Webservice. In Modern, it downsizes the image for better performance. Currently, there is no option to disable this functionality, but the rough dimensions before/after are as follows: Before: 436 x 604
After: 300 x 416. In both the width and height the image is reduced to 68.87% its original size.
The below section also applies to the Noticeboard Image Resizing:
public List<int> AllowedFileSizes
{
get { return new List<int>() { 300, 480, 750, 1024, 1600 }; } // File sizes that are supported by Wizdom
}
public List<int> AllowedOembedSizes
{
// this is the sizes we've choosen
// 275 is for showitem, in the spfx webpart on a iphone 6/7/8
// 350 is min for instagram and is the size we use when creating news posts
// 430 is for showitem, in the spfx webpart on a iphone 6/7/8 landscape mode
// 580 is for ipads
// 720 is for resolution 1024
// 850 is the largest we ever show the showitem dialog on desktop (resolution 1280 and up)
get { return new List<int>() { 275, 350, 430, 580, 720, 850 }; } // ....
}
Please sign in to leave a comment.
Comments
0 comments