adding filter for image ids added to post object media