»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 02-06-2002, 08:31 AM   #1 (permalink)
Registered User
 
TonTo's Avatar
 
Join Date: Oct 2001
Posts: 118
TonTo is on a distinguished road
Send a message via ICQ to TonTo Send a message via AIM to TonTo
HTML img src stuff

ok, here's what i want to do....
i have a website, that i use just for putting pics of party's and what not up.

I manualy create the HTML files through notepad.
what i need is a program, that will lookat the contents of a folder, and output the names.... so I don't have to manualy create those huge txt files...... any idea's?

__________________
One of my users has been computing for 33 years...... older than i've been alive..... soooooo of course I know NOTHING about the tech that I helped create.
TonTo is offline   Reply With Quote
Old 02-06-2002, 08:33 AM   #2 (permalink)
Registered User
 
golfcart's Avatar
 
Join Date: Oct 2001
Location: Michigan
Posts: 1,680
golfcart is on a distinguished road
I did this in photoshop once. As for how I did it, I don't have a clue anymore.
golfcart is offline   Reply With Quote
Old 02-06-2002, 08:35 AM   #3 (permalink)
Guest
Guest
 
Posts: n/a
Do you want it to show all the images in the directory, or just links to them?

-Whir
  Reply With Quote
Old 02-06-2002, 08:45 AM   #4 (permalink)
Registered User
 
strangerstill's Avatar
 
Join Date: Oct 2001
Posts: 1,565
strangerstill is on a distinguished road
Here's how I do stuff like that: dir and Excel.

Go to the folder, shoot up a command prompt, type dir *.jpg *.jpeg *.gif *.png > listing.txt (this will list all jpegs, gifs and pngs, piping the output into listing.txt)

Then open up Excel, drag in listing.txt, and go Data -> Text To Columns. Choose Fixed Width, and put a delimiter at the beginning of the file names, then hit Finish. Then delete everything except the filenames, and in column A write something like <br><img src="; in the column after the filenames just write ">.

Then drag the bottom right blob on those cells to get them to fill the whole column...

Then copy back to Notepad. Voila - great HTML with guaranteed correct spelling, capitalisation, plus you get to decide exactly what goes either side of the image filenames!

Try it... it works!
strangerstill is offline   Reply With Quote
Old 02-06-2002, 08:50 AM   #5 (permalink)
Guest
Guest
 
Posts: n/a
Hey, I never thought of that. I used CoffeeCup to make the listing for me though. That's cool.

-Whir
  Reply With Quote
Old 02-06-2002, 12:45 PM   #6 (permalink)
Registered User
 
TonTo's Avatar
 
Join Date: Oct 2001
Posts: 118
TonTo is on a distinguished road
Send a message via ICQ to TonTo Send a message via AIM to TonTo
THANK YOU!
It took a lil bit to figure out how to work Excel right... but i got it. thank you!!!!
__________________
One of my users has been computing for 33 years...... older than i've been alive..... soooooo of course I know NOTHING about the tech that I helped create.
TonTo is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 02:34 PM.