get/post handler for picture.html