The problem
For some item or product image, Schema.org documentation instructs to add Microdata like so:
<img itemprop="image" src="/some-src.png" alt="teeext" />
But on the platform I am using, the image is output as <a ...><img /></a>
and I have no access to the function that outputs it this way.
The question
Is there some way to wrap that img-tag-containing-anchor-tag to add itemprop="image"
that is read properly and validates?
NOTE: The only other method I've found -- <meta itemprop="image" content="img-url">
-- I also can't do as there is no way for me to get these images dynamic src urls. I've also tried doing it with jQuery in the head, but search engines don't see it.