use more restful way to show the pics