Web Folder Dir Listing With Thumbnails

33 views
Skip to first unread message

Perry Spiller

unread,
Dec 9, 2012, 7:24:11 PM12/9/12
to HBLUG

This could be a good question for Mr Racepix.

So I've used filezilla to download a directory listing
of a web-host-folder of images. Now I want to have
that list with an attached thumbnail.

The overall purpose is to have an index of file names
on my local machine so that I have ready and easy access
to a URL for copy and pasting. E.g.
www.happenstance.info/gallery/catherine_egg_collecting.jpg
But there are some filenames that don't readily reveal
just what the pic is, so a local listing-with-thumbnail
would be very nice and easy.

Ideas, please?

Oh, yes, unfortunately, it's a windoze box.

As a footnote, I wonder if anyone else has noticed the
same as I have. On-line picture file storage facilities
are just getting too damn fancy. Photobucket was
good, but seems to have succumbed to much the same
all-things-to-all-people malaise, instead of using the
time-honoured KISS principle. So I'm in the process
of gradually moving all such things to my own web
hosting account.

Anyone else doing that and come up with a quick way
to transfer the files? As far as I can tell, it's necessary
to download them from (say) webshots, then upload
them to my web host. I.e. there seems to be no way
of copying direct from one to the other web place.


Looking for a place to host your web site idea?

Look no further than this company.
I use them for my web sites.

How did I get an Internet address/domain name?
I bought it from this company for $NZ27 for 3 years.

Cheap? You betcha! You can do it, too. Click on
either of the links to check for yourself.

Erin Drummond

unread,
Dec 9, 2012, 6:34:40 PM12/9/12
to hbl...@googlegroups.com
Well, unless you have RDP access to your webhost or have some software installed that can grab images direct from webshots, you wont be able to have a direct server -> server transfer (I assume you are using standard shared windows hosting)

What I would do is use linux hosting, and then on my local machine use something like DownThemAll to dump the picture URLs to a text file, then write a small shell script on the server to loop over the URLs and wget them to a directory.

I would then write a small PHP script to list the contents of that folder along with thumbnails (but one probably exists on the net already)


--
You received this message because you are subscribed to the Google Groups "Hawke's Bay Linux User Group" group.
To unsubscribe from this group, send email to hblugnz+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

chris morris

unread,
Dec 9, 2012, 7:59:24 PM12/9/12
to hbl...@googlegroups.com
If you have, or can get access to a copy of Photoshop just use it to create a `Web album"
It will automatically generate thumbs form your dir of images and put them into an index.html with filenames and links to each image.

I'm not sure but I think Irfanview can do this as well.

If you're using linux you can do the same thing with gThumb

chris
either of the links to check for yourself. --

Chris Morris

unread,
Dec 9, 2012, 9:29:04 PM12/9/12
to hbl...@googlegroups.com
Once you have created a local directory of images with an index.html of thumbnails, you will  to open the index.html file with a text-editor and do a batch find/replace on all the paths.
For example:
The paths to the large images might be something like C:\user\photos\gallery\image-name.jpg
You will need to find all instances of the "C:\user\photos\" and replace that with http://www.happenstance.info/gallery/
So that all the URLs end up looking like http://www.happenstance.info/gallery/image-name.jpg , etc etc

(If the html file is going to reside in the same directory as the images you can just have /image-name.jpg as the path)

This will look like its broken on your local pc  (the thumbnails won't show) until you upload it to your web server.

chris

Perry Spiller

unread,
Jul 23, 2013, 4:41:00 AM7/23/13
to hbl...@googlegroups.com
Looks like Gordon Arnott's e-mail has been hacked.
I got a SPAM e-mail from his gmail address, today.

gordon arnott

unread,
Jul 23, 2013, 5:02:26 AM7/23/13
to hbl...@googlegroups.com
quite true Perry. All fixed now

Gordon Arnott

On Tue, Jul 23, 2013 at 8:41 PM, Perry Spiller <p.sp...@xtra.co.nz> wrote:
Looks like Gordon Arnott's e-mail has been hacked.
I got a SPAM e-mail from his gmail address, today.

--
You received this message because you are subscribed to the Google Groups "Hawke's Bay Linux User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hblugnz+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages