modified stream to use thumbnails, also modified the gifviewer to load full image if not available