Implementing getImageDetail method