Can't share picture from Wix Pro Gallery to facebook

Hello,

I’m using Wix Pro Gallery. When I use images added directly from the Manage Media area (as explained here: Wix Pro Gallery: Adding Media to the Gallery | Help Center | Wix.com) everything is fine. I can share pictures on facebook.

But my images comes from a 3rd party web services and are loaded through Wix Code as follows:

//manually setting first item to avoid null return
//sharingGallery is a Wix Pro Gallery
 $w('#sharingGallery').items = [
     {
       "src": pictureArrayList[0].pictureURL,
       "title": propertyBundle.property.title,
       "description": propertyBundle.property.shortDesc
     }
  ]

 //setting all others items starting from index 1
 let sharingItems = $w("#sharingGallery").items;
 for (var j = 1; j < pictureArrayList.length; j++) {
     sharingItems.push( {
       "src": pictureArrayList[j].pictureURL,
       "title": propertyBundle.property.title,
       "description": propertyBundle.property.shortDesc
     });
 }
 
 $w("#sharingGallery").items = sharingItems;

The gallery works properly, but when I try to share a picture on facebook using the social buttons, the picture in the ‘share on facebook’ window is missing.
It’s visible, however, into pinterest preview.

How can I fix this, please?
I looked for any ‘thumbnail’ property and find it, but for videos.
Any help would be greatly appreciated, thanks.

Hi Michele!

Although you use code in order to import the images the issue seems to be related to the app functionality and not to WixCode.
Please contact the support center in order to solve this matter.

Doron.

1 Like

Thanks Doron.