Hello,
I created some web galleries using 'Create' -> 'Web Page...' from the menu of XnView Browser.
All my graphic files have the numbering character '#' inside their filenames.
I created the web page using the template 'Pixnview [black]'.
Everything worked fine with one exception. The '#PIC_LINK#' macro inside the template does not escape the '#' character to %23 and the whitespace to %20.
Other macros work properly. Here the macro and the result inside the html file:
original filename: "2010.05.29 Unsere Hochzeit - Standesamt #002.jpg"
"#PIC_LINK#" -> "2010.05.29 Unsere Hochzeit - Standesamt #002.jpg"
some examples where it works properly:
"#PREV_PAGE#" -> "2010.05.29%20Unsere%20Hochzeit%20-%20Standesamt%20%23123.html"
"#THUMB_LINK#" -> "thumbs/2010.05.29%20Unsere%20Hochzeit%20-%20Standesamt%20%23002.jpg"
I guess the PIC_LINK macro is simply not escaped, but it should be.
Best Regards and thanks for XnView
Martin
PS: This is problematic because Firefox(3.6.13) does not load the image when the '#' is not escaped (IE does it).
PS #2: XnView Version 1.97.8
bug when creating web pages from files with a # in filename
Moderators: helmut, XnTriq, xnview
Re: bug when creating web pages from files with a # in filen
Hi,
tested it today with the final of v1.98 and everything is escaped now as expected.
Thank you very much for your support.
Regards
Martin
tested it today with the final of v1.98 and everything is escaped now as expected.
Thank you very much for your support.
Regards
Martin