Page 1 of 1

web page tag for output directory?

Posted: Fri Aug 28, 2009 6:13 pm
by RAH
Is there a "tag" available that contains the Output Directory you specify on the Create>Web Page dialog? I mean the variables contained with #...# in the templates, for example #FRAME_PAGE#.

I am working in an ASP environment which requires (if you can believe it?!) absolute directories for just about anything, so for example, the simple code:

<a href="picimg/fest093.html"><img src="picthm/t_fest093.jpg" width="150" height="111" alt="fest093.jpg" title="fest093.jpg"></a>

will not work. You need to place the full path to each file in front of each name:

<a href="/fest09album/picimg/fest093.html"><img src="/fest09album/picthm/t_fest093.jpg" width="150" height="111" alt="fest093.jpg" title="fest093.jpg"></a>

Right now, I have to create the web album and then do the changes manually (via search/replace). I would like to be able to build the path into the template.

Re: web page tag for output directory?

Posted: Sat Aug 29, 2009 9:33 am
by xnview
No, but i'll add it

Re: web page tag for output directory?

Posted: Sat Aug 29, 2009 11:11 am
by RAH
OK, that would be very helpful. (I love XNView, by the way!) Thanks!

Re: web page tag for output directory?

Posted: Fri Jan 29, 2010 5:40 pm
by RGhost
#ID_OUTPUT_FOLDER# - any examples how to use it?

Re: web page tag for output directory?

Posted: Sun Jan 31, 2010 4:03 pm
by xnview
RGhost wrote:#ID_OUTPUT_FOLDER# - any examples how to use it?
The same as other, you have a problem?

Re: web page tag for output directory?

Posted: Wed Feb 03, 2010 4:54 pm
by RGhost
If I understand correctly I must use it in my template like:

Code: Select all

<a href="#ID_OUTPUT_FOLDER##FRAME_PAGE#"><img src="#ID_OUTPUT_FOLDER##THUMB_LINK#" width="#THUMB_WIDTH#" height="#THUMB_HEIGHT#" alt="#FILENAME#" title="#FILENAME#"></a><br>
But xnview doesn't process it. I tried to use it in other places in my template and got the same result. :? Maybe I'm doing something wrong?

Re: web page tag for output directory?

Posted: Wed Feb 03, 2010 8:56 pm
by xnview
RGhost wrote:If I understand correctly I must use it in my template like:

Code: Select all

<a href="#ID_OUTPUT_FOLDER##FRAME_PAGE#"><img src="#ID_OUTPUT_FOLDER##THUMB_LINK#" width="#THUMB_WIDTH#" height="#THUMB_HEIGHT#" alt="#FILENAME#" title="#FILENAME#"></a><br>
But xnview doesn't process it. I tried to use it in other places in my template and got the same result. :? Maybe I'm doing something wrong?
Strange, please send me your template to test?

Re: web page tag for output directory?

Posted: Fri Feb 05, 2010 10:40 am
by RGhost
For this test I added this tag in Simple[XnView] template and got same result. Here is the modified template: http://veda3d.com/img/Simple[XnView].rar

p.s. I'm used XnView v1.97 Complete version

Re: web page tag for output directory?

Posted: Mon Feb 22, 2010 3:43 am
by xnview
Sorry it's not #ID_OUTPUT_FOLDER# but #OUTPUT_FOLDER#