Changed custom thumbnail MD to include img classes