fixed bug in returning full image url