[[help:foxshot]]
Differences
This shows you the differences between two versions of the page.
help:foxshot [2013/04/03 14:33] scotty |
help:foxshot [2013/04/03 14:34] (current) scotty |
||
---|---|---|---|
Line 20: | Line 20: | ||
When we first load the page, we will go through a few checks to see whether a product image is available. | When we first load the page, we will go through a few checks to see whether a product image is available. | ||
- | * Use [[http://schema.org/Article|Schema Article]] inside your HTML document. For example, `<img src="foobar.jpg" itemprop="image"/>` or `<a href="foobar.jpg" itemprop="image"/>` | + | * Use [[http://schema.org/Article|Schema Article]] inside your HTML document. For example, ''<img src="foobar.jpg" itemprop="image"/>'' or ''<a href="foobar.jpg" itemprop="image"/>'' |
- | * Use [[http://ogp.me/|Open Graph Protocol]] in your HTML header. For example, `<meta property="og:image" content="foobar.jpg"/>` or `<meta name="og:image" content="foobar.jpg"/>` | + | * Use [[http://ogp.me/|Open Graph Protocol]] in your HTML header. For example, ''<meta property="og:image" content="foobar.jpg"/>'' or ''<meta name="og:image" content="foobar.jpg"/>'' |
- | * Have a single DOM element with ID "image". For example, `<img id="image" src="foobar.jpg"/>` | + | * Have a single DOM element with ID "image". For example, ''<img id="image" src="foobar.jpg"/>'' |
We do however also implement special rules for some merchants to parse the HTML to extract out the product images. Please contact OzBargain if you need this service done on your website. | We do however also implement special rules for some merchants to parse the HTML to extract out the product images. Please contact OzBargain if you need this service done on your website. |
Last edited by scotty on 2013/04/03 14:34