Check for images before populating slides