adding SDWebImage and thumbnail functions