gif and image classes for mediaservice