How to add different image to Facebook dynamic, if image is not available

Hi,

I have a problem where there is some products which dont have image 7. Now in Facebook feed the default image is 7, how to load a different image if image 7 is not available ? For example if product doesnt have image 7 load image 4

Thank you