That didn't work either. Although I did some testing. If you will go to this link:
The problem shows up if you click one of the coupons facebook icon that has a logo image as part of the coupon. But, if you click one of the coupons facebook icon that doesn't have a logo, it just is text then the proper image shows up. So that makes it look like the problem is in the dynamic coupon information. Please take a look at the php file to see if something in the file might be causing the problem. Like I said if the coupon doesn't have a logo image the image script works. If it has a logo image then it ignores the script and chooses 6 other images.