different strategies for getting paths for images and videos