restore varied media type loading, and animated gif display