adding image post api