add '.jpg' to id, clients shouldn't see that part