Fixes the media display for thumnbails in collections and in file show p...

...ages