The output of this template is more or less identical to the original demo gallery.
To install it, you have to create a new folder named “Scaracco” in the WebTemplate sub-directory of your XnView installation. Copy & paste the following code…
… into a text editor of your choice and save it as \XnView\WebTemplate\Scaracco\thumb.html. “Scaracco” will then be available in the Template drop-down list of Create » Web Page....
<!-- // EDIT //
I should've mentioned what I tried to achieve with this particular template:
I found a little issue: The links from the thumbnails to the original photos is not working correctly. It points to the main-folder of the generated gallery, but the original files are placed in a subfolder, defined in the mask of XnView.
I don't know the variable of that subfolder, so I can't modify that by my self...
And yes, I'm very interested in a lightbox version of that great template!
19leunam93 wrote:I found a little issue: The links from the thumbnails to the original photos is not working correctly. It points to the main-folder of the generated gallery, but the original files are placed in a subfolder, defined in the mask of XnView.
Fixed! I had #ORG_SUBPATH# removed for my tests and forgot to put it back.
19leunam93 wrote:I don't know the variable of that subfolder, so I can't modify that by my self...
There's a list, but the descriptions are still missing.
19leunam93 wrote:And yes, I'm very interested in a lightbox version of that great template!
Hopefully “Scaracco + fancyBox” (including a short tutorial) will be ready for upload later this week.
As of version 2.35, XnView exports line breaks entered into the text field of Show information (Create » Web Page... » Information displayed) as unclosed tags. If you need the output of this template to be standards-compliant/valid XHTML, you'll have to replace all instances of <br> in thumb.html with <br />.
The late JohnFredC was kind enough to check browser compatibility:
JohnFredC (10/Oct/2013) wrote:
I successfully tested your website in the latest versions of the following browsers, except where noted.
Windows 8
Internet Explorer 10
Opera 17
FireFox 24
Maxthon 4
Chrome 30
Cool Novo 2
Safari 5
Windows Phone 8
Internet Explorer
UC Browser Not formatted as a grid (linear instead), even with agent set to desktop
SurfCube 5
Android 4.2.2
Chrome 30
Opera Beta 16
Dolphin 10
Dolphin Mini 2 Thumb grid did not scale to screen properly (horizontal scrolling required)
FireFox 24
Maxthon 4
UC Browser HD 2.4
IOS 6
Safari
You do not have the required permissions to view the files attached to this post.
Hello XnTriq,
... Very nice template, thank you for sharing.
I have just adapted with: Number of columns = 4 , and gray background #888888 ... and it's perfect.
... Ah, yes, it was for a test ... BTW I use Classic xnview via Wine into Ubuntu with Firefox ... so maybe I have not exactly the same things/output than you? ... PS: I am not a expert with .html codes ... thank you again.
oops66 wrote:I use Classic xnview via Wine into Ubuntu with Firefox ... so maybe I have not exactly the same things/output than you?
Whether you're running XnView in a native Windows environment or on Linux with the help of Wine should make no difference whatsoever when it comes to its HTML output.
XnTriq wrote:...Whether you're running XnView in a native Windows environment or on Linux with the help of Wine should make no difference whatsoever when it comes to its HTML output.
Bonjour XnTriq, .... I Know, but I noticed that sometimes some stranges things happen with all of these logicals abstractives layers ... then computoring seems not to always be an exact science.
oops66 wrote:I Know, but I noticed that sometimes some stranges things happen with all of these logicals abstractives layers ... then computoring seems not to always be an exact science.
Please feel free to contact me via PM if you want me to do tests on a template, oops66.
... Hello and thank you XnTriq ... you have a PM
For this kind of template, but with Exif & IPTC info, instead title="#PIC_LINK#" (photo name) within ".fancybox-title-over-wrap {..." http://jsfiddle.net/2k8EP/
You do not have the required permissions to view the files attached to this post.
I placed the generated html-file of the galery in the joomla article by using php:
{code}<?php include "./images/galery/technik/thumb.html"; ?>{/code}
But the facybox will not work. I think its because of the different paths of the article and the galery.
Is it possible to modify the fancybox so it can generate the pop-up without beeing in the same folder as the thumb.html?
Or is there a problem with joomla and fancyboy?
You can ignore the warnings for the rel and beschreibung attributes, but the following lines have to be removed from thumb.html when XnView's output is included in an existing page in order to prevent “stray start tags”: