|
|
|
|
Posted by Tilman Hesse on November 13, 2005, 1:48 am
Please log in for more thread options
Hi,
I have about 200 pictures to be turned into a gallery. I made myself a
template page (http://home.arcor.de/tilman.hesse/gallery.htm , if you
care for HTML)
My question: the page contains links like ../001.jpg or ../001/. What
software will create 200 files and automatically increment the link
numbers accordingly? That way, I'd only have to add the title
attributes by hand.
I could write myself some C program, but isn't there stuff out that
does these kinds of things? A good manual is something I appreciate in
software...
TIA & good night
|
|
Posted by mbstevens on November 14, 2005, 12:42 pm
Please log in for more thread options
Tilman Hesse wrote:
> Hi,
>
> I have about 200 pictures to be turned into a gallery. I made myself a
> template page (http://home.arcor.de/tilman.hesse/gallery.htm , if you
> care for HTML)
>
> My question: the page contains links like ../001.jpg or ../001/. What
> software will create 200 files and automatically increment the link
> numbers accordingly? That way, I'd only have to add the title
> attributes by hand.
>
> I could write myself some C program, but isn't there stuff out that
> does these kinds of things? A good manual is something I appreciate in
> software...
Perl is much easier to use for that kind of thing than C. Set up a loop
that increments a number and use a regular expression to make the
substitution on each line using the number. The links below may also help.
--
mbstevens
http://www.mbstevens.com/howtothumb http://www.mbstevens.com/preprocessor
|
|
Posted by Jim Moe on November 14, 2005, 12:57 pm
Please log in for more thread options
Tilman Hesse wrote:
>
> My question: the page contains links like ../001.jpg or ../001/. What
> software will create 200 files and automatically increment the link
> numbers accordingly? That way, I'd only have to add the title
> attributes by hand.
>
<http://jalbum.net/>
> I could write myself some C program, but isn't there stuff out that
> does these kinds of things? A good manual is something I appreciate in
> software...
>
This sort of request is highly specific to an application. It is not
likely you'll find a program to do exactly what you want.
The basic idea is simple, though. The program (written in C, perl,
batch, shell, etc) gets a list of files from the directory that contains
the image files, loops through the list outputting the HTML (<img
src="..." alt="..." title="...">) for each image. Add header and trailer
HTML code as required. Depending on what you want for titles, even that
may be part of the program.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
|
|
Posted by Robi on November 14, 2005, 3:36 pm
Please log in for more thread options
> Hi,
>
> I have about 200 pictures to be turned into a gallery. I made myself a
> template page (http://home.arcor.de/tilman.hesse/gallery.htm , if you
> care for HTML)
>
> My question: the page contains links like ../001.jpg or ../001/. What
> software will create 200 files and automatically increment the link
> numbers accordingly? That way, I'd only have to add the title
> attributes by hand.
Hallo Tilman,
I would suggest doing the page dynamically.
One way would be with Javascript, but then, unfortunately,
not everybody has Javascript enabled.
The other way, a PHP script would be a sturdier solution if
your server has that capability.
|
|
Posted by Pete Franklin on November 17, 2005, 4:46 pm
Please log in for more thread options
> Hi,
>
> I have about 200 pictures to be turned into a gallery. I made myself a
> template page (http://home.arcor.de/tilman.hesse/gallery.htm , if you
> care for HTML)
>
> My question: the page contains links like ../001.jpg or ../001/. What
> software will create 200 files and automatically increment the link
> numbers accordingly? That way, I'd only have to add the title
> attributes by hand.
>
> I could write myself some C program, but isn't there stuff out that
> does these kinds of things? A good manual is something I appreciate in
> software...
>
Try ThumbHTML - it doesn't do what you asked for (renaming the jpgs) but
given a bunch of jpg files it will generate a gallery, with all navigation,
thumbnail previews and so on. It is pretty configurable too. Find it here
http://landscapeimage.com/ThumbHTML/
No connection except as a satisfied user.
Pete
|
| Similar Threads | Posted | | FTP software | September 7, 2007, 11:40 am |
| Menu Software ?? | July 10, 2004, 10:49 am |
| Web Editing Software | July 20, 2004, 11:03 am |
| Software for webmasters | August 25, 2006, 7:16 pm |
| Editing software | October 17, 2006, 2:42 pm |
| Recommendations for Blogging software? | April 14, 2005, 10:36 am |
| Forms Design Software? | July 6, 2005, 10:50 am |
| Any good website software that allows | October 8, 2006, 11:49 am |
| Custom Software Development | May 20, 2007, 7:14 am |
| SEO Software - Free Download | October 29, 2007, 2:28 pm |
|
|
|
|