added uri encoding to image link