MOBILE-596: Applied media classes to images and texts