check for image in carousel

if no image is associated with a post, skip that post in carousel. hope
this works!