Web page creation and modification of templates

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

Moderators: helmut, XnTriq, xnview

Post Reply
PSHRutPark
Posts: 137
Joined: Tue Sep 12, 2006 8:38 pm
Location: New Zealand

Web page creation and modification of templates

Post by PSHRutPark »

Thanks to those who provided the web templates.

1/ I'm currently modifying a template (Visuddhi - Flash Viewer [Blue]) slightly and would like to know how to change the change the colour of the photograph and thumbhail borders. In this case I want to change from light blue to white.

2/ I would like to create web pages based on the images tagged according to a Category. I display the images of the required category but if I select them all and then attempt to create a page I get the following error:

"Error creating file <F>"

The problem seems to result from the fact that the actual source images are not all in a single "real" folder and are actually in a virtual folder.

I imagine this would this be easy to fix as the capability to generate web pages from Categories would be very useful.

Thanks

PETER
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Web page creation and modification of templates

Post by xnview »

PSHRutPark wrote: 2/ I would like to create web pages based on the images tagged according to a Category. I display the images of the required category but if I select them all and then attempt to create a page I get the following error:

"Error creating file <F>"

The problem seems to result from the fact that the actual source images are not all in a single "real" folder and are actually in a virtual folder.
Ok, right, i'll fix it
Pierre.
PSHRutPark
Posts: 137
Joined: Tue Sep 12, 2006 8:38 pm
Location: New Zealand

Re: Web page creation and modification of templates

Post by PSHRutPark »

xnview wrote: Ok, right, i'll fix it

Thankyou.
NikoJorj
Posts: 9
Joined: Tue Feb 27, 2007 5:08 pm

Re: Web page creation and modification of templates

Post by NikoJorj »

PSHRutPark wrote: 1/ I'm currently modifying a template (Visuddhi - Flash Viewer [Blue]) slightly and would like to know how to change the change the colour of the photograph and thumbhail borders. In this case I want to change from light blue to white.
You have to edit the file thumbs.html by hand.

The first actual line sets parameters for the flash object simpleviewer :

Code: Select all

<simpleviewerGallery [...] textColor="0x2E4B6B" frameColor="0xA1BCDA" frameWidth="15" [...]>


The colors are defined with three 2digits hexadecimal codes for R, G, B components, so white is 0xFFFFFF, red is 0xFF0000 and plain blue is 0x0000FF eg.
In your case you'll need something like

Code: Select all

frameColor="0xFFFFFF"
(plain white).
PSHRutPark
Posts: 137
Joined: Tue Sep 12, 2006 8:38 pm
Location: New Zealand

Re: Web page creation and modification of templates

Post by PSHRutPark »

Thank you.


PETER
pjp
Posts: 34
Joined: Wed Feb 08, 2006 11:53 am
Contact:

Post by pjp »

Question - Is possible change (something) in webtemplates/generation of web pages ?
Problem - if I use key "enter" (create second line) in field "information displayed", XnView inserted into web galery only first picture and rest ignore. Can you change/solve problem this ? Thanks.
Pavel
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

pjp wrote:Question - Is possible change (something) in webtemplates/generation of web pages ?
Problem - if I use key "enter" (create second line) in field "information displayed", XnView inserted into web galery only first picture and rest ignore. Can you change/solve problem this ? Thanks.
Pavel
With which template?
Pierre.
pjp
Posts: 34
Joined: Wed Feb 08, 2006 11:53 am
Contact:

Post by pjp »

Vissuddhi - Flash Viewer.
Maybe, one more question - is possible add in this webtemplate link between GPS infos and google maps ?
Pavel
Olive
Posts: 215
Joined: Wed Oct 06, 2004 9:18 pm
Location: Marseille
Contact:

Post by Olive »

Given that it's possible to insert EXIF-GPS info I'd say it's possible to use javascript to convert them to Google maps links.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

pjp wrote:Vissuddhi - Flash Viewer.
Ok, the flash object doesn't support if you have <br> in info, so with this template, you must use only 1 line of info...
Pierre.
Post Reply