web page tag for output directory?

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

Moderators: helmut, XnTriq, xnview

Post Reply
RAH
Posts: 4
Joined: Tue Jul 10, 2007 12:23 pm

web page tag for output directory?

Post 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.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: web page tag for output directory?

Post by xnview »

No, but i'll add it
Pierre.
RAH
Posts: 4
Joined: Tue Jul 10, 2007 12:23 pm

Re: web page tag for output directory?

Post by RAH »

OK, that would be very helpful. (I love XNView, by the way!) Thanks!
User avatar
RGhost
Posts: 47
Joined: Sun Mar 30, 2008 10:51 am
Location: Moscow
Contact:

Re: web page tag for output directory?

Post by RGhost »

#ID_OUTPUT_FOLDER# - any examples how to use it?
Royal Ghost | http://veda3d.com
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: web page tag for output directory?

Post by xnview »

RGhost wrote:#ID_OUTPUT_FOLDER# - any examples how to use it?
The same as other, you have a problem?
Pierre.
User avatar
RGhost
Posts: 47
Joined: Sun Mar 30, 2008 10:51 am
Location: Moscow
Contact:

Re: web page tag for output directory?

Post 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?
Royal Ghost | http://veda3d.com
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: web page tag for output directory?

Post 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?
Pierre.
User avatar
RGhost
Posts: 47
Joined: Sun Mar 30, 2008 10:51 am
Location: Moscow
Contact:

Re: web page tag for output directory?

Post 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
Royal Ghost | http://veda3d.com
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: web page tag for output directory?

Post by xnview »

Sorry it's not #ID_OUTPUT_FOLDER# but #OUTPUT_FOLDER#
Pierre.
Post Reply