ส่วนนี้แสดงรายละเอียดคุณสมบัติมาร์กอัปเนื้อหาของ image
สําหรับภาพยนตร์และรายการทีวี มาร์กอัปนี้ช่วยให้ผู้ให้บริการอธิบายประเภทของรูปภาพได้ เช่น
สําหรับชื่อ พื้นหลัง หรือรูปภาพที่มีชื่อเสียง ตลอดจนการใช้งานที่แนะนํา
ตารางข้อมูลจําเพาะ
พร็อพเพอร์ตี้ image
มีไว้สําหรับประเภทเอนทิตี
Movie
TVSeries
TVSeason
หรือ TVEpisode
ตารางต่อไปนี้อธิบายพร็อพเพอร์ตี้ที่พร้อมใช้งานสําหรับพร็อพเพอร์ตี้ image
โปรดสังเกตว่าพร็อพเพอร์ตี้ additionalProperty
มีชื่อพร็อพเพอร์ตี้ที่กําหนดเองชื่อ contentAttributes
ซึ่งจะเก็บอาร์เรย์ของค่าที่อธิบายประเภทของรูปภาพและการใช้งานที่ต้องการ
พร็อพเพอร์ตี้ | ประเภทที่คาดหวัง | คำอธิบาย |
---|---|---|
@context |
Text | จําเป็น - ตั้งค่าเป็น "http://schema.org" เสมอ |
@type |
Text | จําเป็น - ตั้งค่าเป็น ImageObject เสมอ |
contentUrl |
URL | จําเป็น - URL ของรูปภาพ |
additionalProperty |
PropertyValue | ต้องระบุ - กําหนดพร็อพเพอร์ตี้ contentAttributes ซึ่งอธิบายประเภทรูปภาพและการใช้งาน โปรดอ่านรายละเอียดเพิ่มเติมที่หัวข้อ contentAttributes |
character |
Person |
ต้องระบุ (หากมี) - อักขระสมมติที่เชื่อมโยงกับรูปภาพ ต้องระบุหาก |
inLanguage |
Text | ต้องระบุ (หากมี) - ภาษาของข้อความที่ใช้ในรูปภาพ ใช้รหัสภาษาแบบใดแบบหนึ่งจากมาตรฐาน IETF BCP 47
หากอิมเมจมี contentAttribute จาก hasTitle คุณต้องระบุพร็อพเพอร์ตี้นี้ |
regionsAllowed |
สถานที่ | แนะนํา - ภูมิภาคที่อนุญาตให้ใช้รูปภาพ หากไม่ระบุ ระบบจะถือว่ารูปภาพดังกล่าวได้รับอนุญาตทุกที่ ระบุประเทศในรูปแบบ ISO 3166 |
datePublished |
Date | ต้องระบุ (หากมี) - วันที่หลังจากที่รูปภาพพร้อมใช้งานในรูปแบบ ISO 8601 (รวมถึงเขตเวลา)
หากมีการจํากัดเวลาในการใช้งานรูปภาพ คุณจําเป็นต้องระบุพร็อพเพอร์ตี้นี้หากรูปภาพดังกล่าวต้องแสดงก่อนวันที่กําหนด หากไม่มีข้อจํากัดดังกล่าว ก็ละเว้นได้ รูปภาพที่เกี่ยวข้องจะต้องระบุในฟีดอย่างน้อย 7 วันก่อนวันที่เผยแพร่ ซึ่งจะช่วยเพิ่มโอกาสให้เนื้อหาแสดงในแพลตฟอร์มของ Google ได้ทันเวลา |
expires |
Date | ต้องระบุ (หากมี) - วันที่หลังจากรูปภาพไม่พร้อมใช้งานอีกต่อไป ในรูปแบบ ISO 8601 (รวมถึงเขตเวลา)
คุณจําเป็นต้องอัปเดตวันที่หมดอายุในฟีดอย่างน้อย 7 วันก่อนถึงวันหมดอายุ การดําเนินการดังกล่าวจะช่วยเพิ่มโอกาสที่เนื้อหาจะหยุดปรากฏบนแพลตฟอร์มของ Google เมื่อถึงวันหมดอายุ |
audience |
ผู้ชม | แนะนํา - กลุ่มเป้าหมายที่ต้องการหรือกลุ่มเป้าหมายที่ต้องการสําหรับรูปภาพนี้ |
audience.geographicArea |
เขตบริหาร | แนะนํา - ภูมิภาคที่ต้องการหรือต้องการใช้สําหรับรูปภาพนี้
ในทางกลับกัน ใช้ regionsAllowed เพื่อระบุข้อจํากัดแบบเข้มงวด หากไม่มีการระบุ audience.geographicArea ระบบจะถือว่าเป็นการใช้ในทุกที่ ระบุประเทศในรูปแบบ ISO 3166 |
copyrightHolder |
Organization หรือ Person | แนะนํา - เจ้าของลิขสิทธิ์ที่มีรูปภาพ |
keywords |
Text | แนะนํา - คีย์เวิร์ดหรือแท็กที่ใช้อธิบายรูปภาพนี้
คุณระบุ keywords หลายรายการได้โดยใช้อาร์เรย์ เช่น ["ฟีเจอร์ ชีวประวัติ"] |
name |
Text | แนะนํา - ชื่อของรูปภาพ |
แอตทริบิวต์เนื้อหา
พร็อพเพอร์ตี้ contentAttributes
ของ image
อธิบายประเภทของรูปภาพและกําหนดการใช้งานที่แนะนํา หมวดหมู่ในรายการต่อไปนี้ประกอบด้วยค่า contentAttributes
ที่ผู้ให้บริการต้องระบุใน ImageObject
แต่ละรายการ
Type
iconic
: รูปภาพประกอบตัวอย่างโชว์ มักเป็นการแสดงผล งานศิลปะsceneStill
: ข้อความที่ตัดตอนมาจากโชว์castInCharacter
: รูปภาพสมาชิกในทีมนักแสดงตามที่ปรากฏในตัวละคร หากใช้ค่านี้ ให้ระบุพร็อพเพอร์ตี้character
เพื่อระบุอักขระที่เจาะจงในรูปภาพด้วย หากมีอักขระหลายตัว เช่น ในชุดข้อมูลแบบ Cast ให้ใส่พร็อพเพอร์ตี้character
หลายรายการเป็นอาร์เรย์logo
: รูปภาพมีเฉพาะโลโก้ ซึ่งอาจเป็นโลโก้กราฟิกหรือ โลโก้ชื่อก็ได้ ใส่โฆษณาซ้อนทับที่เกี่ยวข้องเพื่อระบุ
หากต้องการใช้งาน ให้ใช้หนึ่งในประเภทเหล่านี้เท่านั้น
การใช้งานที่แนะนํา
poster
: รูปภาพโปสเตอร์สําหรับการแสดง ใน UI ของคอมพิวเตอร์ สามารถใช้ ในภาพหมุนได้ ซึ่งอาจจะมีหรือไม่มีชื่อรายการก็ได้background
: รูปภาพที่เหมาะสําหรับใช้เป็นพื้นหลังที่มีข้อความหรือการวางซ้อน UI รูปภาพเหล่านี้ไม่มีข้อความ
โปรดระบุการใช้งานที่แนะนําเหล่านี้มากที่สุด 1 รายการเพื่อให้ใช้งานได้
ความเหมาะสมกับขนาด
smallFormat
: รูปภาพที่เหมาะสําหรับหน้าจอขนาดเล็ก เช่น โทรศัพท์มือถือ ข้อความหรือโลโก้ในรูปภาพอ่านได้ง่ายบนหน้าจอขนาดเล็กlargeFormat
: รูปภาพที่เหมาะสําหรับหน้าจอขนาดใหญ่หรือโปสเตอร์ที่พิมพ์ออกมา
รูปภาพสามารถใช้ทั้ง 2 ค่านี้ได้
ความเหมาะสมกับพื้นหลัง
forDarkBackground
: รูปภาพที่มักจะเป็นโลโก้โปร่งใสเหมาะสําหรับการใช้งานบนพื้นหลังสีเข้มforLightBackground
: รูปภาพที่มักเป็นโลโก้แบบโปร่งใส ซึ่งเหมาะสําหรับการใช้งานบนพื้นหลังสีอ่อน
ใช้ค่าความเหมาะสมกับพื้นหลังได้ไม่เกิน 1 ค่าเท่านั้นเพื่อให้ใช้งานได้
การวางซ้อน
hasTitle
: ชื่อรายการหรือชื่อตัวละคร หรือนักแสดงที่รวมอยู่ในรูปภาพ อย่าลืมใส่พร็อพเพอร์ตี้inLanguage
ของรูปภาพนั้นnoTitle
: รูปภาพไม่มีชื่อhasLogo
: รูปภาพมีโลโก้ภาพยนตร์หรือรายการ เจ้าของเนื้อหา หรือผู้จัดจําหน่ายnoLogo
: รูปภาพไม่มีโลโก้hasCopyright
: รูปภาพนี้มีประกาศเกี่ยวกับลิขสิทธิ์ที่มองเห็นได้noCopyright
: รูปภาพไม่มีประกาศเกี่ยวกับลิขสิทธิ์ที่มองเห็นได้ Google ไม่สามารถใช้รูปภาพดังกล่าวโดยไม่แก้ไขhasMatte
: รูปภาพมีด้าน อาจเป็นแนวนอน (Letterbox) แนวตั้ง (Pillarbox) หรือทั้งคู่ (Windowbox) บางครั้งรูปภาพอาจจะ มีขนาดพอดีกับสัดส่วนภาพ โดยทั่วไปแล้ว Google จะไม่สามารถใช้รูปภาพดังกล่าว โดยไม่มีการแก้ไขnoMatte
: รูปภาพไม่มีด้านtransparentBackground
: พื้นหลังของภาพโปร่งใส ซึ่งโดยทั่วไปแล้วจะใช้สําหรับรูปภาพที่เป็นแค่ชื่อหรือโลโก้เท่านั้น
ระบบจะใช้ได้เพียงชื่อเดียว โลโก้ 1 รูป ลิขสิทธิ์อย่างละ 1 แอตทริบิวต์ และแอตทริบิวต์ด้านเดียวเท่านั้น
ตําแหน่งของบุคคลสําคัญ
centered
: ตัวเลขที่โดดเด่นจะอยู่ที่ตําแหน่งกึ่งกลางของรูปภาพrightCentered
: ตัวเลขที่โดดเด่นจะวางอยู่ทางด้านขวาของรูปภาพ ซึ่งทําให้ด้านซ้ายไม่ว่างเปล่าสําหรับการวางซ้อนข้อความและ UIleftCentered
: ตัวเลขที่โดดเด่นจะวางอยู่ทางซ้ายของรูปภาพ ซึ่งทําให้ด้านขวาว่างเปล่าสําหรับการวางซ้อนข้อความและ UI
โปรดใส่ตําแหน่งเหล่านี้อย่างน้อย 1 ตําแหน่งเพื่อให้ใช้งานได้
ภาพตัวอย่างที่มีวัตถุประสงค์การใช้งาน
ภาพตัวอย่างและแอตทริบิวต์รูปภาพ
ประเภทรูปภาพที่ต้องการสําหรับผลิตภัณฑ์ของ Google
ผลิตภัณฑ์และแพลตฟอร์มต่างๆ ของ Google ต้องใช้ประเภทรูปภาพและสัดส่วนภาพที่ต่างกัน เราขอให้ผู้ให้บริการแสดงรูปภาพทุกประเภทจากตารางต่อไปนี้เพื่อให้เนื้อหาแสดงในทุกผลิตภัณฑ์ของ Google ได้อย่างถูกต้อง
สัดส่วนภาพและ contentAttribute | ความละเอียดขั้นต่ํา (พิกเซล) | Movie | ซีรีส์ | รายการทีวีทั้งซีซัน | ตอนรายการทีวี | บริการออกอากาศ |
---|---|---|---|---|---|---|
16:9 iconic poster |
3840x2160 | |||||
2:3, iconic poster |
1,000 x 1,500 | |||||
4:3 iconic poster |
800x600 | |||||
1:1, iconic poster |
600x600 | |||||
3:4 |
600x800 | |||||
16:9, |
3840x2160 | |||||
2:3, |
1,000 x 1,500 | |||||
3:4, |
600x800 | |||||
แสดง 1:1 โลโก้ (hasLogo ) |
600x600 | |||||
4:3, โลโก้ช่อง (logo ) |
800x600 | |||||
1:1, โลโก้ช่อง (logo ) |
600x600 | |||||
16:9, โลโก้ช่อง (logo ) |
3840x2160 | |||||
9:5, |
1800x1000 |
หลักเกณฑ์ต่อไปนี้จะมีผลเมื่อคุณส่งรูปภาพ
- รูปภาพต้องอยู่ในรูปแบบ JPEG, PNG หรือ WebP
- รวมรูปภาพที่มีความละเอียดสูงที่สุดที่คุณมี
- ไฟล์ต้องมีขนาดไม่เกิน 20 MB
- ขอแนะนําให้ใช้รูปภาพ
centered
ภาพ รูปภาพrightCentered
รูปและleftCentered
พื้นหลังยังใช้กับบางผลิตภัณฑ์ได้ด้วย ซึ่งจะเพิ่มลงไป ถ้ามี - เราขอแนะนําให้ใช้รูปภาพที่ได้ผลกับทั้ง
smallFormat
และlargeFormat
- คุณรวมขนาดรูปภาพนอกเหนือจากขนาดที่แสดงในตารางก่อนหน้าได้
- ตรวจสอบว่าสัดส่วนภาพของรูปภาพแต่ละรูปเป็นค่าทั่วไปที่แสดงในตารางก่อนหน้า มิฉะนั้นจะมีคําเตือน
ตัวอย่างรูปภาพที่ใช้สคีมา
ตัวอย่างต่อไปนี้แสดงวิธีจัดรูปแบบสคีมาสําหรับรูปภาพที่เชื่อมโยงกับภาพยนตร์หรือรายการทีวี
ภาพพื้นหลังภาพยนตร์ที่มีอักขระสองตัว
{
"@context": [ "http://schema.org", { "@language": "en" } ],
"@type": "Movie",
"@id": "http://www.example.com/mountain_view",
"url": "http://www.example.com/my_favorite_movie",
...,
"image": {
"@context": "http://schema.org",
"@type": "ImageObject",
"name": "Mountain View: A Movie poster",
"Keywords": ["Mauren, Lord Wingflap the Destroyer"],
"contentUrl": "http://example.com/images/mountain-view.jpg",
"character": [
{ "@type": "Person", "name": "Mauren" },
{ "@type": "Person", "name": "Lord Wingflap the Destoyer" },
],
"copyrightHolder": {
"@type": "Organization",
"name": " ExampleOrganization Studios, Inc."
},
"inLanguage": "en-US",
"audience": {
"@type": "Audience",
"geographicArea": [{"@type": "Country", "name": "US"},
{"@type": "Country", "name": "GB"},
{"@type": "Country", "name": "CA"},
{"@type": "Country", "name": "AU"}]
},
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "contentAttributes",
"value": [ "iconic", "background", "rightCentered", "noTitle", "noLogo",
"noCopyright", "noMatte", "smallFormat", "largeFormat"]
}
]
}
}
ภาพพื้นหลังของ TVSeries จํากัดอยู่เพียง 2 ภูมิภาค
{
"@context": [ "http://schema.org", { "@language": "en" } ],
"@type": "TVSeries",
"@id": "http://www.example.com/mountain_view",
"url": "http://www.example.com/mountain_view",
...,
"image": {
"@context": "http://schema.org",
"@type": "ImageObject",
"name": "Mountain View: A TV Show",
"contentUrl": "http://example.com/images/mountain-view.jpg",
"copyrightHolder": {
"@type": "Organization",
"name": "ExampleOrganization Studios, Inc."
},
"inLanguage": "en-US",
"regionsAllowed": [{ "@type": "Country", "name": "US" },
{ "@type": "Country", "name": "GB" }],
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "contentAttributes",
"value": ["iconic", "background", "rightCentered", "smallFormat",
"largeFormat", "noTitle", "noLogo", "noCopyright", "noMatte"]
}
]
}
}
รูปภาพโปสเตอร์ภาพยนตร์สําหรับ 2 ภูมิภาค
{
"@context": [ "http://schema.org", { "@language": "en" } ],
"@type": "Movie",
"@id": "http://www.example.com/pulsar_quest",
"url": "http://www.example.com/pulsar_quest",
...,
"image": {
"@context": "http://schema.org",
"@type": "ImageObject",
"name": "Pulsar Quest: A New Frontier",
"contentUrl": "http://example.com/images/pulsar-quest.jpg",
"copyrightHolder": {
"@type": "Organization",
"name": "ExampleOrganization Studios, Inc."
},
"inLanguage": "en-US",
"audience": [{ "@type": "Country", "name": "US" },
{ "@type": "Country", "name": "GB" }],
"character": [
{
"@type": "Person",
"name": "Captain Pulsar"
}
],
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "contentAttributes",
"value": ["iconic", "poster", "smallFormat", "largeFormat", "hasTitle",
"hasLogo", "noCopyright", "noMatte", "centered"]
}
]
}
}
โปสเตอร์ภาพยนตร์ขนาดใหญ่ที่มีทั้งภาษาเกาหลีและอังกฤษ
{
"@context": [ "http://schema.org", { "@language": "en" } ],
"@type": "Movie",
"@id": "http://www.example.com/pulsar_quest",
"url": "http://www.example.com/pulsar_quest",
...,
"image": {
"@context": "http://schema.org",
"@type": "ImageObject",
"name": "Pulsar Quest: A New Frontier poster",
"contentUrl": "http://example.com/images/pulsar-quest.jpg",
"copyrightHolder": {
"@type": "Organization",
"name": "ExampleOrganization Studios, Inc."
},
"inLanguage": ["kr", "en"],
"audience": { "@type": "Country", "name": "KR" },
"character": [
{ "@type": "Person", "name": "Captain Pulsar" },
{ "@type": "Person", "name": "Space Cadet Shaniah" },
{ "@type": "Person", "name": "Rove the Rover" },
],
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "contentAttributes",
"value": ["iconic", "poster", "largeFormat", "hasTitle", "hasLogo",
"noCopyright", "noMatte", "centered"]
}
]
}
}
นําเสนอหลายรูปภาพต่อภูมิภาค
{
"@context": [ "http://schema.org", { "@language": "en" } ],
"@type": "Movie",
"@id": "http://www.example.com/pulsar_quest",
"url": "http://www.example.com/pulsar_quest",
...,
"image": [{
"@context": "http://schema.org",
"@type": "ImageObject",
"name": "Pulsar Quest: A New Frontier poster",
"contentUrl": "http://example.com/images/pulsar-quest-us.jpg",
"copyrightHolder": {
"@type": "Organization",
"name": "ExampleOrganization Studios, Inc."
},
"inLanguage": ["en"],
"audience": { "@type": "Country", "name": "US" },
"character": [
{ "@type": "Person", "name": "Captain Pulsar" },
{ "@type": "Person", "name": "Space Cadet Shaniah" },
{ "@type": "Person", "name": "Rove the Rover" }
],
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "contentAttributes",
"value": ["iconic", "poster", "largeFormat", "hasTitle", "hasLogo",
"noCopyright", "noMatte", "centered"]
}
]
},{
"@context": "http://schema.org",
"@type": "ImageObject",
"name": "Pulsar Quest: A New Frontier poster",
"contentUrl": "http://example.com/images/pulsar-quest-kr.jpg",
"copyrightHolder": {
"@type": "Organization",
"name": "ExampleOrganization Studios, Inc."
},
"inLanguage": ["kr"],
"audience": { "@type": "Country", "name": "KR" },
"character": [
{ "@type": "Person", "name": "Captain Pulsar" },
{ "@type": "Person", "name": "Space Cadet Shaniah" },
{ "@type": "Person", "name": "Rove the Rover" }
],
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "contentAttributes",
"value": ["iconic", "poster", "largeFormat", "hasTitle", "hasLogo",
"noCopyright", "noMatte", "centered"]
}
]
}]
}
ภาพที่มีการกําหนดเวลา
{
"@context": [ "http://schema.org", { "@language": "en" } ],
"@type": "Movie",
"@id": "http://www.example.com/pulsar_quest",
"url": "http://www.example.com/pulsar_quest",
...,
"image": [{
"@context": "http://schema.org",
"@type": "ImageObject",
"name": "Pulsar Quest: A New Frontier poster",
"contentUrl": "http://example.com/images/pulsar-quest-jp.jpg",
"copyrightHolder": {
"@type": "Organization",
"name": "ExampleOrganization Studios, Inc."
},
"datePublished": "2022-10-31T17:00:00Z",
"expires": "2025-10-31T16:59:59Z",
"inLanguage": ["ja"],
"audience": { "@type": "Country", "name": "JP" },
"character": [
{ "@type": "Person", "name": "Captain Pulsar" },
{ "@type": "Person", "name": "Space Cadet Shaniah" },
{ "@type": "Person", "name": "Rove the Rover" }
],
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "contentAttributes",
"value": ["iconic", "poster", "largeFormat", "hasTitle", "hasLogo",
"noCopyright", "noMatte", "centered"]
}
]
},{
"@context": "http://schema.org",
"@type": "ImageObject",
"name": "Pulsar Quest: A New Frontier poster",
"contentUrl": "http://example.com/images/pulsar-quest-kr.jpg",
"copyrightHolder": {
"@type": "Organization",
"name": "ExampleOrganization Studios, Inc."
},
"datePublished": "2021-10-31T17:00:00Z",
"expires": "2023-10-31T16:59:59Z",
"inLanguage": ["kr"],
"audience": { "@type": "Country", "name": "KR" },
"character": [
{ "@type": "Person", "name": "Captain Pulsar" },
{ "@type": "Person", "name": "Space Cadet Shaniah" },
{ "@type": "Person", "name": "Rove the Rover" }
],
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "contentAttributes",
"value": ["iconic", "poster", "largeFormat", "hasTitle", "hasLogo",
"noCopyright", "noMatte", "centered"]
}
]
}]
}