Click to See Complete Forum and Search --> : New forum Wow...Is it possible to write a program to do this?


Chillingworth
01-03-2001, 08:32 PM
Say my cousins have scanned in all their pictures from Hawaii and have them in a web gallery something like this |www.cousins.net/hawaiipics/hawaii01.jpg| and theres a whole bunch like a hundred and they are in the same gallery and numbered consectetivly (sp) is there a program or something I could create that would start at that first hawaii01.jpg and work its way up to picture 100 or so??? downloading them and saving them to my hard drive-- without me having to manually load and save each pic?

[This message has been edited by Chillingworth (edited January 03, 2001).]

Grizzly
01-03-2001, 08:38 PM
I'm not exactly sure what you want to do. Are you trying to rename all 100 pics to a special naming convenstion into another directory?
Example:
pics are named 0000001.jpg, 00000002.jpg, 00000003.jpg, etc eyc.
And you want to rename them ALL to hawaii01.jpg, hawaii02.jpg, etc etc?

I this is the case, than check out: www.irfanview.com (http://www.irfanview.com)
This AWESOME program is my favorite of all times. It offers alot of batch functionality that does exactly what I specified above. E-mail me if you have any questions on using Irfanview.
adamksharp@hotmail.com

Chillingworth
01-03-2001, 08:47 PM
No, what im saying is that my cousins pics are all on that webpage and i want to download them onto my harddrive without actually having to click on each link and then save them onto my hard drive. My cousins change their webpage quite often so if I dont get the hawaiipics theres no guarantee theyll be there next month...they only have 20 megs of space or something. I want a program that loads and saves each pic without me having to manually click and save. the names of the files would remain the same.

Klashe
01-03-2001, 11:24 PM
Originally posted by Chillingworth:
No, what im saying is that my cousins pics are all on that webpage and i want to download them onto my harddrive without actually having to click on each link and then save them onto my hard drive. My cousins change their webpage quite often so if I dont get the hawaiipics theres no guarantee theyll be there next month...they only have 20 megs of space or something. I want a program that loads and saves each pic without me having to manually click and save. the names of the files would remain the same.


Actually, you don't need a program to do that. If you can ftp into their webpage thru IE (type "ftp://www.cousins.net/hawaiipics/" is the address bar, it will probably prompt you for a password)
you can just right click the folder with all the pictures in it and then copy it onto your desktop.


------------------
Happiness is...

P3-800 o/c to 896 GeForce 2 MX SB mp3 5.1
Klipsch ProMedias 2.400 30 gigger Viewsonic 19"

Grizzly
01-04-2001, 11:46 AM
Ahhhh, yes. Just ask your cousin for FTP access. Much easier.

Or...if you actually see them load on your screen, than your webbrowser has them actually saved somewhere on your harddrive in cache. Search around for them, they're all there unless you have some really low chache settings.

Klashe
01-04-2001, 11:53 AM
Originally posted by Grizzly:

Or...if you actually see them load on your screen, than your webbrowser has them actually saved somewhere on your harddrive in cache. Search around for them, they're all there unless you have some really low chache settings.

That's even better than FTPing.
The cache ( in case you didn't know) holds all the graphics from recently visited sites, so if you go there again, it can just pull them up from local memory instead of having to go out to the web server.

Under your netscape folder goto /users/<username>/cache/ and it should be somewhere in there. Or you can just go to Start->Find->cousins*.jpg

Sometimes I find myself writing new programs for stuff that can be done with current programs! http://www.sharkyforums.com/ubb/smile.gif

------------------
Happiness is...

P3-800 o/c to 896 GeForce 2 MX SB mp3 5.1
Klipsch ProMedias 2.400 30 gigger Viewsonic 19"

Chillingworth
01-04-2001, 12:42 PM
Hmmmmm, that does start me to thinkin...i do know everything goes to that Temporary Internet Folder...but theres a whole buncha other stuff in there too.....like the ad banners, backgrounds, other objects etc that my cousin has. How would I pull out only the hawaii jpg files. I could use the find file option---it might save some time....ill have to do some experimenting!

turp182
01-04-2001, 01:18 PM
I'll get back to you later with how to do this. All you should need is Internet Explorer 5 or greater and the Windows Scripting Host enabled (don't worry about that, it probably is...).

I will put together a VBS script that downloads all images on a given page (or links to images for thumbnails). It may take an extra day, I'm not sure how my evening looks, and I'm building my 1ghz Athlon system tomorrow night over a 6 pack of beer...

Peter.

------------------
We got it at the Wazmo...
www.thewazmo.com

turp182
01-04-2001, 06:00 PM
Now then, I have a solution, but it requires some alterations. This is a sample program I used in a VB class I teach at a local university (so I really didn't have to spend any time on it at all...).

The program requires VB6 and at least IE5 (it's just a project file and one form file). It reads in a given URL, listing the images. You can then select the images and save them. It shows how to grab the HTML from a web page, parse it, and how to programatically save binary files such as images. This is the full source, but I haven't got time to fit it to your exact purpose.

I put it out on my webiste (I write everything out there...), so go to: http://www.thewazmo.com
then choose the Software link at the top. The project is a 2k ZIP file at the bottom of the list. On a similar note, Auction Update Pro (available from the software page) is a VB app that I wrote a couple of years ago that fully automates most eBay actions (it won't snipe, but it will track auctions and you can bid through it).

Peter



------------------
We got it at the Wazmo...
www.thewazmo.com

kid A
01-05-2001, 09:45 AM
Originally posted by Grizzly:
If this is the case, than check out: www.irfanview.com (http://www.irfanview.com)
This AWESOME program is my favorite of all times. It offers alot of batch functionality that does exactly what I specified above. E-mail me if you have any questions on using Irfanview.
adamksharp@hotmail.com


I agreed to that - IrfanView is really a great image converter/tool. I love that program and have been using it for a couple of years now http://www.sharkyforums.com/ubb/smile.gif


------------------
Now listening to:
Røyksopp - Apple

Grizzly
01-05-2001, 08:39 PM
Originally posted by kid A:

I agreed to that - IrfanView is really a great image converter/tool. I love that program and have been using it for a couple of years now http://www.sharkyforums.com/ubb/smile.gif




You bet! If Irfan ever does start charging money for his amazing program, I'll be the first in line to cut him a check. I've used it for 3 years myself, and am amazed at the amount of time he puts into this program, for absolutely nothing in return.

kid A
01-05-2001, 09:23 PM
Originally posted by Grizzly:
You bet! If Irfan ever does start charging money for his amazing program, I'll be the first in line to cut him a check. I've used it for 3 years myself, and am amazed at the amount of time he puts into this program, for absolutely nothing in return.

He must get money somehow...

I stumbled across it back in 1997 when I was making my first websites and have stuck with it ever since http://www.sharkyforums.com/ubb/smile.gif


------------------
Now listening to:
Røyksopp - Apple