This is my code
<div class="gallery-placeholder _block-content-loading" data-gallery-role="gallery-placeholder">
<?php /* @escapeNotVerified */
$json=$block->getGalleryImagesJson();
$array = json_decode($json,true);
foreach($array as $item)
{
$imgurl = $item['full'];
echo '<img alt="main product photo" class="gallery-placeholder__image" ".$imgurl['url']. "/>';
<br>
}
?>
</div>
and I am getting error on this line
echo '<img alt="main product photo" class="gallery-placeholder__image" ".$imgurl['url']. "/>';
as
Parse error: syntax error, unexpected 'url' (T_STRING), expecting ',' or ';' in C:\wamp64\www\ekelund1692\app\design\frontend\Pronko\ekelund\Magento_Catalog\templates\product\view\gallery.phtml on line 8