Implement timeout image loading