finished work on media images plugin