Page 1 of 1

Web page create

Posted: Sat Dec 15, 2007 1:32 am
by TGB_72
I'm not sure if this is a bug but in "web page create" there is a template called "compresed (silver)" that seems to not work ok, thumbs in galleries created with this template doesn't link to the original/big picture.

Re: Web page create

Posted: Sat Dec 15, 2007 8:20 am
by xnview
TGB_72 wrote:I'm not sure if this is a bug but in "web page create" there is a template called "compresed (silver)" that seems to not work ok, thumbs in galleries created with this template doesn't link to the original/big picture.
Yes, but it's not me who has created this template...

Posted: Fri Jan 04, 2008 4:13 am
by Cowki
Simple enough to fix though...

Open the "thumb.html" from the Compressed [silver] folder in notepad (or your editor of choice)

Locate the following bit of code
<a href="#" onfocus="...

It's in between
#THUMB_START# and #THUMB_END#

Then insert #ORG_SUBPATH#/#FILENAME# instead of the single #

It should look something like this...

<a href="#ORG_SUBPATH#/#FILENAME#" onfocus="...

You could even add target="_blank" to the tag to make the image open in a new window

Hope this helps :-) and also that I haven't broken any copyright rules by fixing this code... I just presumed you may be too busy to fix it yourself.

Posted: Fri Jan 04, 2008 4:21 am
by Cowki
Thought I'd sign up and help out if and when I can. Liking this XnView a lot.

So yeah, Hi all :D

Posted: Fri Jan 04, 2008 9:55 pm
by XnTriq
Cowki wrote:Thought I'd sign up and help out if and when I can. Liking this XnView a lot.

So yeah, Hi all :D
Welcome aboard, Cowki :)