getImage method constucts jpg urls for thumbnails