php脚本google图像许可证元数据
您好,我想在标记中编写php代码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
<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)}}