In an attempt to push my product images to Google image search, I'm using the toolkit to add all my image machine images to the page, then using display:none; to hide this array from the browser.
I'm doing this under a couple assumptions:
So, what do you think? Are my assumptions correct? Is there a better way I could be doing this?
Product page example:
The code:
I'm doing this under a couple assumptions:
- Spiders are currently not parsing the javascript that calls the images
- Adding page load times is worth the SEO content
- Google is not penalizing me for "hiding" these images
So, what do you think? Are my assumptions correct? Is there a better way I could be doing this?
Product page example:
The code:
Code:
<mvt:item name="toolkit" param="customimagec|big|g.product_code||700|400|1" /> <mvt:if expr="g.big">
<mvt:foreach iterator="image" array="toolkitadditionalimages">
<span style="display:none;">
<mvt:if expr="NOT ISNULL l.settings:image:generated:image">
<img src="&mvt:global:imageroot;&mvte:image:generated:image;" alt="&mvte:product:name;" title="&mvte:product:name;">
<mvt:else>
<img src="&mvt:global:imageroot;&mvte:image:image:image;" alt="&mvte:product:name;" title="&mvte:product:name;">
</mvt:if>
</span>
</mvt:foreach>
</mvt:if>
Comment