add link and image recognition
added more image formats
change image functionality