Generating an image URL

Hello everyone - new MODx user here.

I am creating HTML structured data in JSON-LD format. I need to display the full path to an image, something like this:

https://example.com/photos/1x1/photo.jpg

I created a TV for the image, with:
Input Options=image
Output Options=string

I looked at the image URL for a page I created which contained an image and I built the string in a Chunk like this:

“[[++site_url]][[*ArticleImageTV]]”

The URL to the image is created and it looks fine.

https://my-domain-name.com/imagev1.png

My question is - is the way I create the image URL correct? Will it generate what Google / Bing want?

Thanks, Tony

Hey @SmallBizHeroes,

This is perfectly fine, it’s exactly what I do for JSON-LD

Many thanks @inside-creative

Excellent :smile: that’s the way i would do it.