added gallery support for thumbnail image in observation table