Web page create

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
TGB_72
Posts: 76
Joined: Tue Jan 30, 2007 8:47 pm

Web page create

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

Re: Web page create

Post 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...
Pierre.
Cowki

Post 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.
User avatar
Cowki
Posts: 17
Joined: Fri Jan 04, 2008 4:17 am
Location: Cardiff
Contact:

Post 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
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post 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 :)
Post Reply