add images endpoint