I am trying to display an image from a Url however i am not sure how to do so. Below is my attempt:
imageFile = "http://photo.elsoar.com/wp-content/images/Personal-computer.jpg"
image1 =PhotoImage(open(imageFile))
image1.grid(row=1, column=5)
This just produces an error
Traceback (most recent call last):
File "C:\Users\Derren\Desktop\Online Shopper.py", line 131, in <module>
image1 =PhotoImage(open(imageFile))
IOError: [Errno 22] invalid mode ('r') or filename: 'http://photo.elsoar.com/wp-content/images/Personal-computer.jpg' This is the image i want to have http://photo.elsoar.com/wp-content/images/Personal-computer.jpg
However it is essential that it is resourced from the internet and not local files