Saving a picture from a webpage
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-07-16 10:03 PM
Hi,
I'm trying to build a process that saves a picture from a website.
The picture is not of a fixed size per case and could sometimes even be broader than the webpage, which eliminates the option for screen capture in itself.
Does anyone know how to tackle this!?
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-07-16 01:50 PM
Does the image have a static path/name?
e.g. - http://www.example.com/image.jpg
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-07-16 02:54 PM
Hi Tom,
Unfortunately the file name is dynamic with no clear logic refering to the case.
I have added a screen capture on my original post.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-07-16 04:50 PM
I can't see the screen capture.
You could programmatically download all images and save them locally using C#. However if there are multiple images on the site, then I'm not sure how you would know which image you need.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-07-16 09:18 PM
I updated the screen capture to highlight the file.
It might be that it is called graph.jpg as far as i could identify. However this does not follow from the properties of the picture.
@Bastiaan
The temporary file does not hold the specific file, probably since the picture is embedded in the webpage.
Thanks anyway for the suggestion.
