modified signature to use github hosting for image links