major rewrite on posts from wordpress. imported images