meta property="og:image" content=" $this->item->image"
meta property="og:description" content=" $this->item->image_caption"
{JFBCGraph image=<?php echo $this->item->image; ?>}
{JFBCGraph description=<?php echo $this->item->image_caption; ?>}
{JFBCGraph image=<?php echo JURI::root().$this->item->image; ?>}
Hello Stefan,anexgo wrote: Hi Alex,
Thanks, the code works, the meta properties display correctly in the source code.
However, there seems to be a small anomaly: Although the right picture link shows in the source code and also that link shows the right picture, sometimes a different picture is posted to Facebook or no picture is posted at all. There is also no second image property in the page.
I set "Use first image in article for default" to "No" which should be the right setting I assume. Any chance that this function creates a confusion?
Can you navigate me to the piece of code/function where the first image of the page is pulled, so I can deactivate the respective lines for testing purposes?
Thanks
Stefan
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.