Joomla Template Expert Needed

Job ID: 34849002

Budget: $30 – $250 USD

#########################
READ EVERYTHING FIRST

BOTS AND AUTOMATIC REPLIES WILL BE ELIMINATED
#########################

1. What I need?

I have the following HTML markup inside the index.php on Joomla 3.10.11

<meta property="og:image" content="">

What I want to do is to be able to call the "Intro Image" inside the "content" attribute.

I want to be able to something like the HTML markup below.

<meta property="og:image" content="<?php echo $Image = $doc->getImage(); ?>">

Or anything similar that can work inside the index.php

If you can help me with this, please write at the beginning of your bid the line below.

"I can call the intro image inside your index.php"

##########################

BELOW IS MY CURRENT INDEX.PHP

I HAVE ALSO ATTACHED THE FILE

<?php

defined( '_JEXEC' ) or die( 'Restricted access' ); //Basic protection for PHP Joomla files
$doc = JFactory::getDocument();
$doc->setHtml5(true); //Change document to HTML5

/* THIS GET ALIAS INSIDE BODY CLASS FOR CUSTOM CSS */
$app = JFactory::getApplication();
$menu = $app->getMenu()->getActive();
$pageclass = ''; // Notice how the variable is empty first. Then place the code below.

if (is_object($menu))
$pageclass = $menu->params->get('pageclass_sfx');

?>
<!doctype html>
<html lang="<?php echo $this->language; ?>">
<head>

<!-- HEAD GENERATED BEGINS -->
<jdoc:include type="head" />
<!-- HEAD GENERATED ENDS -->

<!-- SOCIAL MEDIA TEST BEGINS -->
<meta property="og:image" content="">
<!-- SOCIAL MEDIA ENDS -->

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<?php $this->setGenerator('Website powered by Engines'); ?>
<link href="<?php echo JUri::current(); ?>" rel="canonical">
<link rel="alternate" hreflang="<?php echo $this->language; ?>" href="<?php echo JUri::current(); ?>">

</head>
Related categories: PHP Joomla HTML