web page tag for output directory?
Moderators: helmut, XnTriq, xnview
web page tag for output directory?
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.
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?
OK, that would be very helpful. (I love XNView, by the way!) Thanks!
Re: web page tag for output directory?
#ID_OUTPUT_FOLDER# - any examples how to use it?
Royal Ghost | http://veda3d.com
Re: web page tag for output directory?
The same as other, you have a problem?RGhost wrote:#ID_OUTPUT_FOLDER# - any examples how to use it?
Pierre.
Re: web page tag for output directory?
If I understand correctly I must use it in my template like:
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?
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>

Royal Ghost | http://veda3d.com
Re: web page tag for output directory?
Strange, please send me your template to test?RGhost wrote:If I understand correctly I must use it in my template like:
But xnview doesn't process it. I tried to use it in other places in my template and got the same result.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>
Maybe I'm doing something wrong?
Pierre.
Re: web page tag for output directory?
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
p.s. I'm used XnView v1.97 Complete version
Royal Ghost | http://veda3d.com
Re: web page tag for output directory?
Sorry it's not #ID_OUTPUT_FOLDER# but #OUTPUT_FOLDER#
Pierre.