Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI,

I HAVE A IMAGE IN MY DESKTOP AND I WANT TO UPLOAD THE IMAGE TO WEB USING FTP.
I want to view the image using url not to download the image.
please help me to sort this out.
Posted
Comments
Richard C Bishop 3-Apr-14 13:48pm    
The image would have to be stored on a server somewhere.
Sergey Alexandrovich Kryukov 3-Apr-14 13:49pm    
The question makes no sense. Look at the functionality of the site, and you probably can find out what's the URL.
—SA
W Balboos, GHB 3-Apr-14 13:59pm    
Not wanting to download the image?
It will download every time you open the page, or be retrieved from the cache on your computer if available.

1 solution

"View" actually means "download and then view", no matter what you do. Ultimately, you need the image data, not the URL itself (you only need it to be able to download the data).

Please see my comment to the question. If you don't know the URL, you can download the page with the image first, parse it to find <img …> (or link to the image, whatever it is), using some criteria, choose the image you need, download it (with the separate HTTP request) in memory, present on your form. Please see my past answers:
get specific data from web page[^],
How to get the data from another site[^].

—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900