add post and resize images