Yuri
Yuri

Reputation: 3284

Sharing image on facebook

I have a page with 10 images (for example) and I want to be able to share them singly. Is that possible? I was looking through the few examples I found, but it seems that each examples shares only 1 image at a time... Like this:

<meta property="og:image"content="http://site.com/path/sharedimage.png" />

I think that this code is for a single image, but how about if I have 10 images?

Thanks

EDIT: and how could I be able to see how many likes each image gets??

Upvotes: 1

Views: 170

Answers (1)

Daniel Li
Daniel Li

Reputation: 15379

The og:image property does not actually share this image, but rather is the image used as a "preview" when your page is shared.

If you would like to include all 10 images in this place, you could potentially randomize this property between the 10 images on the server-side.

Upvotes: 1

Related Questions