Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi Friends,
I am working in VB.Net. I want to get images from a web page. That page contains a image. when i copy link location / image url of that image it returns page url. that image dont have any extension. like jpg, bmp, gif, png, tif... etc.
please help.
Posted 28-Nov-12 1:40am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Look at the source code of the web page. Somewhere, you'll find the tag for the image: <img src="http://url.to/image.jgp" /> or similar. The url of the image can be a full url or relative to the current page.
  Permalink  
Comments
Miklo B at 30-Mar-13 18:48pm
   
@Bernard Hiller thanks for your answer, but as you can see he wrote that the picture has no EXTENSION jpg, bmp, gif, png! Still you wrote that he should look for "JPG" in the link!

As a developer I would read the questions again in order to give the correct answer. In this case the answer was incorrect. 1 Star Given for the answer..
Bernhard Hiller at 2-Apr-13 2:33am
   
1 Star means: BAD answer!
Ashish Khatavkar at 23-Mar-15 23:49pm
   
Any solution?

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

  Print Answers RSS
0 OriginalGriff 455
1 Sergey Alexandrovich Kryukov 445
2 Maciej Los 290
3 ProgramFOX 275
4 CHill60 225
0 OriginalGriff 550
1 Sergey Alexandrovich Kryukov 470
2 Maciej Los 310
3 ProgramFOX 275
4 Peter Leow 250


Advertise | Privacy | Mobile
Web04 | 2.8.150331.1 | Last Updated 28 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100