Web page creating - multiple pages

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
tstorzuk
Posts: 9
Joined: Sun Aug 08, 2010 5:36 pm

Web page creating - multiple pages

Post by tstorzuk »

I need a little help.

I have many photos, all sorted by event/date. I want to create multiple different web pages. The problem I keep coming across is that every individual photo page only references the thumb.html page. What I would like to see is this thumb.html to be named differently and referenced in each photo page with the different name.

As an example I have tried making a new template, and changing within the line;

Code: Select all

| <a href="#THUMB_PAGE#">#THUMBNAILS_LABEL#</a> |
to read

Code: Select all

| <a href="../2007-05.html">#THUMBNAILS_LABEL#</a> |
and renamed the thumb.html to be 2007-05.html, but this just doesn't work at all. I don't want to have to go into each and every individual image page to have to modify this line manually.

Is there another way to create multiple different web pages that reference a different main page name other than thumb.html????




I would really like to see something in the next release that allows for this to be done simply by changing something in the Web Page Create dialog box.

It could be another line in the Web Page Create dialog box within the Output section......a text enterable field.....underneath the Thumbnail sub-folder box, maybe named Thumbnail Page Name? That way one could create multiple different web pages based on the same template, and NOT have files overwritten.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Web page creating - multiple pages

Post by XnTriq »

tstorzuk wrote:Is there another way to create multiple different web pages that reference a different main page name other than thumb.html????
helmut ([url=http://newsgroup.xnview.com/viewtopic.php?t=3945&p=67211&hilit=thumb.html#p67211]Changing templates for web-pages[/url]) wrote:A workaroung to this problem:

Copy the file "thumbs.html" and rename the copy to "index.html". Upload all files to your webserver with both "index.html" and "thumbs.html" included.

This way you have an entry page with standard name "index.html" and your gallery will still work.
tstorzuk wrote:I don't want to have to go into each and every individual image page to have to modify this line manually.
tstorzuk
Posts: 9
Joined: Sun Aug 08, 2010 5:36 pm

Re: Web page creating - multiple pages

Post by tstorzuk »

XnTriq,

Thanks. The Search & Replace software was good enough to work the magic I needed. Now I don't have to try and figure out how to create custom templates for each web page.
Post Reply