Updated Fetch and Thumbnail View Code