added MediaManager::has_images() method