now inserting images into media library, and prepending them to posts