Now checking the thumbnail format and fixing the downloadLink accordingly