fixed error, added path2images to prev_image and next_image buttons.