[IMPLEMENTED] Images must be in .jpg, .png, or. gif format for Product structured data

When using structured data for your SEO requirements one must provide an image to certain structured data types, such as Product.

Google states:

Images must be in .jpg, .png, or. gif format.

which will not work with Squidex.

Squidex renders the <img> tag like this:

<img src="https://my.domain.com/api/assets/aa462b99-4f2c-462d-8553-7c9fada14444" />

Is there a way to override this behavior by adding the file extension for images?

If not, what other alternatives are there?

Note that one prerequisite is that I do not plan on extending Squidex :wink:

hmm, validation check passes apparently… it seems google does some more advanced validation and somehow finds out that the URL above is actually an image.

I think I got a similar feature request before and I was suggesting that I allow a custom suffix to the route. So that you can add whatever you want to the image url.

I have added an optional suffix to the url, where you can just add whatever you want.

1 Like