Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/294.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
php脚本google图像许可证元数据_Php_Laravel_Google Rich Snippets_Script - Fatal编程技术网

php脚本google图像许可证元数据

php脚本google图像许可证元数据,php,laravel,google-rich-snippets,script,Php,Laravel,Google Rich Snippets,Script,您好,我想在标记中编写php代码 <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "ImageObject", "contentUrl": "https://example.com/photos/1x1/black-lab

您好,我想在标记中编写php代码

    <script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "ImageObject",
  "contentUrl": "https://example.com/photos/1x1/black-labrador-puppy.jpg",
  "license": "https://example.com/license",
  "acquireLicensePage": "https://example.com/how-to-use-my-images"
}
</script>
但不幸的是,我太蠢了,不适合那样做 如果有人能帮助我,我将非常高兴,提前谢谢

{{url('files/preview/'.$stockImages[1]->resolution, $stockImages[1]->name)}}