Replies: 1 comment 1 reply
-
I'm having the exact same issue but also populating imgWidth, imgHeight, imageSource, altText, and imageSourceType is set to 2. Images will not display until the page is put into edit mode. Even if I put the page into maintenance mode, it does not recognize the image web parts until the page has been edited. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I'm trying to add and configure an image / image gallery web part to my pages using the following code:
The $json looks as follows:
The web part is added to the page (shown when in edit-mode) but no image is displayed. Same when trying to add an image gallery.
Even getting the PropertiesJson from a manually configured web part and re-setting it with set-pnppagewebpart does not work.
I also tried to set the
imageSource
property to the URL of the image. Doesn't help.Expected behavior
Images are displayed.
Thanks for any help / ideas...
Beta Was this translation helpful? Give feedback.
All reactions