0

I created Full width section in SharePoint Online page and added Image web part to it. My image is quite narrow with size 2560x394. All seems fine on computer screen, however on mobile screen this image is not zooming in, but instead resizing to become really small image (not possible to see anything):

PC screen:

enter image description here

Mobile screen:

enter image description here

I tried Hero web part, which is also available in Full-width section and image in there is zooming in, instead of resizing, however Hero webpart itself is too large and takes too much page space, so I cannot use it.

Is there any other options how to make Image webpart zoom in, instead of resizing ?

1 Answer 1

0

It's by design, Images in full-width columns will always display at the full width of your screen with an automatic height based on screen size.

So in your case, the issue is mainly related to the height of your image which is set automatically based on your Mobile screen.

See also Image sizing and scaling in SharePoint modern pages

1
  • Thanks for the answer. So what are my options if I wanted to not adjust height based on screen size ? Is the only one to create my own SPFx Image webpart myselft or maybe you know of any others ? Commented Feb 9, 2023 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.