Hello,
I used to tweek the code of the plugin to get my elements correctly but since the last update this doesn't work right. I can not get the ImagePro element to show the image in facebook.
The thing is that I use a "Product App" and ImagePro by Zoolanders.
My "article" configuration is attached and what I did, was changing this code:
$teaser_image = $post['elements']['cdce6654-4e01-4a7f-9ed6-0407709d904c']['file'];
$image_ar = $post['elements']['c26feca6-b2d4-47eb-a74d-b067aaae5b90']['file'];
$count = count($post['elements']['2e3c9e69-1f9e-4647-8d13-4e88094d2790']);
for($i=0; $i<$count; $i++){
$text .= $post['elements']['2e3c9e69-1f9e-4647-8d13-4e88094d2790'][$i]['value'];
}
with this
$teaser_image = $post['elements']['f1ed25bc-aa4d-48c9-af0b-fd3ae24af1b6'][0]['file'];
$image_ar = $post['elements']['f1ed25bc-aa4d-48c9-af0b-fd3ae24af1b6']['file'];
$count = count($post['elements']['09bc20e8-f86c-4b8b-8d50-a73fcdd19606']);
for($i=0; $i<$count; $i++){
$text .= $post['elements']['09bc20e8-f86c-4b8b-8d50-a73fcdd19606'][$i]['value'];
}
I didn't get the text to be shown (because the authors create a second instance of text to write and don't write in the first)
but, I got the ImagePro image to be shown correctly.
What is the correct code I have to put there so I get the Image (and if it's possible the text)
Thanks