add images funcitonality