Added support for both linked images and upload image in one tribute